Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,626 for throws (0.13 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/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
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/ASN1Util.java

         * @throws PACDecodingException
         */
        public static <T extends Object> T as ( Class<T> type, Enumeration<?> enumeration ) throws PACDecodingException {
            return as(type, enumeration.nextElement());
        }
    
    
        /**
         * 
         * @param type
         * @param stream
         * @return next object from stream cast to type
         * @throws PACDecodingException
         * @throws IOException
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            return input;
          } catch (InterruptedException e) {
            throw new AssertionError();
          }
        }
    
        @Override
        public void sleepThenThrowException() throws SampleException {
          try {
            MILLISECONDS.sleep(delayMillis);
          } catch (InterruptedException e) {
          }
          throw new SampleException();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistry.java

                return ImmutableList.of();
            }
    
            @Override
            public Object get(Type serviceType) throws UnknownServiceException, ServiceLookupException {
                throw emptyServiceRegistryException(serviceType);
            }
    
            @Override
            public Object find(Type serviceType) throws ServiceLookupException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * @param reader a reader object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. 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)
Back to top