Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,464 for throws (0.18 sec)

  1. guava/src/com/google/common/io/Closer.java

       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
      public RuntimeException rethrow(Throwable e) throws IOException {
        checkNotNull(e);
        thrown = e;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
      public RuntimeException rethrow(Throwable e) throws IOException {
        checkNotNull(e);
        thrown = e;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertNull(tester.instantiate(Runnable.class));
      }
    
      public void testInstantiate_abstractClass() throws Exception {
        assertNull(tester.instantiate(AbstractList.class));
      }
    
      public void testInstantiate_annotation() throws Exception {
        assertNull(tester.instantiate(MyAnnotation.class));
      }
    
      public void testInstantiate_setDefault() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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