Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 459 for Throwable (0.22 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 24 17:45:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            Throwable a, Throwable b, Throwable c, Throwable d, Throwable e) {}
    
        public ExceptionWithManyConstructors(
            Throwable a, Throwable b, Throwable c, Throwable d, Throwable e, String s, Integer i) {}
      }
    
      public static final class ExceptionWithoutThrowableConstructor extends Exception {
        public ExceptionWithoutThrowableConstructor(String s) {
          super(s);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            Throwable a, Throwable b, Throwable c, Throwable d, Throwable e) {}
    
        public ExceptionWithManyConstructors(
            Throwable a, Throwable b, Throwable c, Throwable d, Throwable e, String s, Integer i) {}
      }
    
      public static final class ExceptionWithoutThrowableConstructor extends Exception {
        public ExceptionWithoutThrowableConstructor(String s) {
          super(s);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) {
        /*
         * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class
         * under GWT.
         */
        return true;
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {}
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Sends an exception to the user in the <b>debug</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error the error that caused this log
         */
        void debug(Throwable error);
    
        void debug(Supplier<String> content);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

          get() = connectState == ConnectState.TLS_CONNECTED
    
        var tcpConnectDelayNanos = 0L
        var tcpConnectThrowable: Throwable? = null
        var yieldBeforeTcpConnectReturns = false
        var connectTcpNextPlan: FakePlan? = null
        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              }
            }
    
            val throwable = connectResult.throwable
            if (throwable != null) {
              if (throwable !is IOException) throw throwable
              if (firstException == null) {
                firstException = throwable
              } else {
                firstException.addSuppressed(throwable)
              }
            }
    
            val nextPlan = connectResult.nextPlan
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        protected abstract void realRun() throws Throwable;
    
        @Override
        public final void run() {
          try {
            realRun();
          } catch (Throwable t) {
            threadUnexpectedException(t);
          }
        }
      }
    
      public abstract class RunnableShouldThrow implements Runnable {
        protected abstract void realRun() throws Throwable;
    
        final Class<?> exceptionClass;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataRetrievalException.java

         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(String message, Throwable cause) {
            this(message, cause, null);
        }
    
        public ArtifactMetadataRetrievalException(String message, Throwable cause, Artifact artifact) {
            super(message, cause);
            this.artifact = artifact;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top