Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 2,742 for throws (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, project, src);
            Model model = result.getRawModel();
            return transform(model, project);
        }
    
        protected Model buildNonPom(RepositorySystemSession session, MavenProject project, Path src)
                throws ModelBuilderException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

         *            {@code null}.
         * @throws BeanConfigurationException If the bean configuration could not be successfully processed.
         */
        void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ReflectionTest.java

        assertEquals("java.util", Reflection.getPackageName(Map.Entry.class));
      }
    
      public void testNewProxy() throws Exception {
        Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER);
        assertEquals("x", runnable.toString());
      }
    
      public void testNewProxyCantWorkOnAClass() throws Exception {
        assertThrows(
            IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java

         * @throws ArtifactInstallationException if an error occurred installing the artifact
         * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate
         *             method
         */
        @Deprecated
        void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            this.builder = builder;
            this.settingsXmlFactory = settingsXmlFactory;
        }
    
        @Override
        public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException {
    
            try {
                SettingsBuilderResult result = builder.build(SettingsBuilderRequest.builder()
                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

        }
    
        @Override
        protected void tearDown() throws Exception {
            minioServer.stop();
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = storageClient.doGet("storage://fess/file1.txt")) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                return target.toFile();
            } catch (IOException | NoSuchAlgorithmException | XMLStreamException | ModelBuildingException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate()
                throws IOException, NoSuchAlgorithmException, XMLStreamException, ModelBuildingException {
            String result;
            Path src = sourcePathProvider.get();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/HostAndPort.java

      public boolean hasPort() {
        return port >= 0;
      }
    
      /**
       * Get the current port number, failing if no port is defined.
       *
       * @return a validated port number, in the range [0..65535]
       * @throws IllegalStateException if no port is defined. You can use {@link #withDefaultPort(int)}
       *     to prevent this from occurring.
       */
      public int getPort() {
        checkState(hasPort());
        return port;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top