Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for throws (0.16 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                    throws UnresolvableModelException {
                return null;
            }
    
            @Override
            public void addRepository(Repository repository) throws InvalidRepositoryException {}
    
            @Override
            public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {}
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        public interface StreamSupplier {
            InputStream open() throws IOException;
        }
    
        public interface ReaderSupplier {
            Reader open() throws IOException;
        }
    
        /**
         * @deprecated use {@link #build(ReaderSupplier)}
         */
        @Deprecated
        public PluginDescriptor build(Reader reader) throws PlexusConfigurationException {
            return build(reader, null);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final int throwAfterCount;
        final RuntimeException thrown;
        int count;
    
        ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
          this.throwAfterCount = throwAfterCount;
          this.thrown = thrown;
        }
    
        @Override
        public void run() {
          if (++count >= throwAfterCount) {
            throw thrown;
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          throw t;
        }
      }
    
      /** Calls threadFail with message "should throw exception". */
      public void threadShouldThrow() {
        threadFail("should throw exception");
      }
    
      /** Calls threadFail with message "should throw" + exceptionName. */
      public void threadShouldThrow(String exceptionName) {
        threadFail("should throw " + exceptionName);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        return FS.getRootDirectories().iterator().next();
      }
    
      private Path tempDir;
    
      @Override
      protected void setUp() throws Exception {
        tempDir = Files.createTempDirectory("MoreFilesTest");
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (tempDir != null) {
          // delete tempDir and its contents
          Files.walkFileTree(
              tempDir,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // intentionally unsafe for test
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
        new SneakyThrower<Error>().throwIt(t);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

        }
    
        @Override
        public void addRepository(Repository repository) throws InvalidRepositoryException {
            addRepository(repository, false);
        }
    
        @Override
        public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException {
            if (session.isIgnoreArtifactDescriptorRepositories()) {
                return;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public void tearDown() throws IOException {}
      }
    
      private static class EmptyCharSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.empty();
        }
    
        @Override
        public String getExpected(String data) {
          return "";
        }
    
        @Override
        public void tearDown() throws IOException {}
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    Constants.MAVEN_HOME, invokerRequest.installationDirectory().toString());
        }
    
        protected void validate(C context) throws Exception {}
    
        protected void prepare(C context) throws Exception {}
    
        protected void configureLogging(C context) throws Exception {
            R invokerRequest = context.invokerRequest;
            // LOG COLOR
            Options mavenOptions = invokerRequest.options();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top