Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 6,602 for throws (0.26 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       * @param len an int specifying the number of bytes to read.
       * @throws EOFException if this stream reaches the end before reading all the bytes.
       * @throws IOException if an I/O error occurs.
       */
      public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException {
        int read = read(in, b, off, len);
        if (read != len) {
          throw new EOFException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @return The result of the project building, never {@code null}.
         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
        ProjectBuildingResult build(File projectFile, ProjectBuildingRequest request) throws ProjectBuildingException;
    
        /**
         * Builds a project descriptor for the specified artifact.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

                thrownByExecutionThread = e;
              }
            });
        executionThread.start();
      }
    
      private static void throwIfSet(Throwable t) throws Throwable {
        if (t != null) {
          throw t;
        }
      }
    
      public void testStopUnstartedService() throws Exception {
        NoOpService service = new NoOpService();
        RecordingListener listener = RecordingListener.record(service);
    
        service.stopAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

                thrownByExecutionThread = e;
              }
            });
        executionThread.start();
      }
    
      private static void throwIfSet(Throwable t) throws Throwable {
        if (t != null) {
          throw t;
        }
      }
    
      public void testStopUnstartedService() throws Exception {
        NoOpService service = new NoOpService();
        RecordingListener listener = RecordingListener.record(service);
    
        service.stopAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/BaseClasspathElementTransform.java

        }
    
        private void visitEntries(ClasspathBuilder.EntryBuilder builder) throws IOException, FileException {
            classpathWalker.visit(source, entry -> {
                visitEntry(builder, entry);
            });
            finishProcessing(builder);
        }
    
        private void visitEntry(ClasspathBuilder.EntryBuilder builder, ClasspathEntryVisitor.Entry entry) throws IOException {
            try {
                if (isClassFile(entry)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar

    ServiceLocator { public abstract Object lookup(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract Object lookup(String, String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract java.util.Map lookupMap(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract java.util.List lookupList(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 32.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @throws DependencyResolverException
         * @throws ArtifactResolverException
         *
         * @see DependencyResolver#collect(DependencyResolverRequest)
         * @see #flatten(Session, Node, PathScope)
         * @see ArtifactResolver#resolve(ArtifactResolverRequest)
         */
        DependencyResolverResult resolve(DependencyResolverRequest request)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top