Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,625 for throws (0.14 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

            if (e.getMessage().equals("Buffer underflow.")) {
                throw (EOFException) new EOFException().initCause(e);
            }
            throw e;
        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

        // only use by reread()
        @TempDir
        Path projectRoot;
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            projectBuilder = getContainer().lookup(ProjectBuilder.class);
        }
    
        protected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception {
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testAllAsList_extensive() throws InterruptedException {
        runExtensiveMergerTest(Merger.allMerger);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testSuccessfulAsList_extensive() throws InterruptedException {
        runExtensiveMergerTest(Merger.successMerger);
      }
    
      public void testSuccessfulAsList() throws Exception {
        // Create input and output
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testAllAsList_extensive() throws InterruptedException {
        runExtensiveMergerTest(Merger.allMerger);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testSuccessfulAsList_extensive() throws InterruptedException {
        runExtensiveMergerTest(Merger.successMerger);
      }
    
      public void testSuccessfulAsList() throws Exception {
        // Create input and output
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @return the result returned by the Callable
       * @throws TimeoutException if the time limit is reached
       * @throws ExecutionException if {@code callable} throws a checked exception
       * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException}
       * @throws ExecutionError if {@code callable} throws an {@code Error}
       * @since 22.0
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java

            throw new UnsupportedOperationException();
        }
    
        @Override
        public void skipChunked() throws EOFException, IOException {
            throw new UnsupportedOperationException();
        }
    
        protected abstract int maybeReadBytes(byte[] buffer, int offset, int count) throws IOException;
    
        protected abstract long maybeSkip(long count) throws IOException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testFrom_failedInput() throws Exception {
        assertFinallyFailsWithException(failedClosingFuture());
      }
    
      public void testFrom_cancelledInput() throws Exception {
        assertBecomesCanceled(ClosingFuture.from(immediateCancelledFuture()));
      }
    
      public void testEventuallyClosing() throws Exception {
        ClosingFuture<String> closingFuture =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LoadingCache.java

       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V get(K key) throws ExecutionException;
    
      /**
       * Returns the value associated with {@code key} in this cache, first loading that value if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top