Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for Throwable (0.15 sec)

  1. guava/src/com/google/common/base/Throwables.java

       *
       * @since 20.0
       */
      public static void throwIfUnchecked(Throwable throwable) {
        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       *
       * @since 20.0
       */
      public static void throwIfUnchecked(Throwable throwable) {
        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/Logger.java

            log.fatal(message.toString());
        }
    
        /**
         * ログを出力します。
         *
         * @param throwable
         *            例外。{@literal null}であってはいけません
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * ログを出力します。
         *
         * @param messageCode
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      @CanIgnoreReturnValue
      protected boolean setException(Throwable throwable) {
        checkNotNull(throwable);
        if (!state.permitsPublicUserToTransitionTo(State.FAILURE)) {
          return false;
        }
    
        forceSetException(throwable);
        return true;
      }
    
      private void forceSetException(Throwable throwable) {
        this.throwable = throwable;
        this.state = State.FAILURE;
        notifyAndClearListeners();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

                  seenExceptionsUpdater;
          this.remainingCountUpdater =
              (AtomicIntegerFieldUpdater<AggregateFutureState<?>>) remainingCountUpdater;
        }
    
        @Override
        void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      /**
       * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the
       * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the
       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
      private void handleException(Throwable throwable) {
        checkNotNull(throwable);
    
        if (allMustSucceed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        AsyncFunction<Throwable, Integer> fallback =
            new AsyncFunction<Throwable, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(Throwable t) {
                return secondary;
              }
            };
        ListenableFuture<Integer> derived =
            catchingAsync(primary, Throwable.class, fallback, directExecutor());
        secondary.set(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginConfigurationException.java

            super(originalMessage, cause);
            this.pluginDescriptor = pluginDescriptor;
            this.originalMessage = originalMessage;
        }
    
        /**
         * Ctor left for binary compatibility.
         *
         * @deprecated Use {@link #PluginConfigurationException(PluginDescriptor, String, Throwable)}
         */
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. 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);
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(String message, Throwable cause) {
            super(message, cause, null);
        }
    
        public ArtifactMetadataRetrievalException(String message, Throwable cause, Artifact artifact) {
            super(message, cause, artifact);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top