Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for Throwables (0.14 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getCausalChain;
    import static com.google.common.base.Throwables.getCauseAs;
    import static com.google.common.base.Throwables.getRootCause;
    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

        private static final long serialVersionUID = 1L;
    
        private final Throwable[] throwables;
    
        public MultipleCrawlingAccessException(final String message, final Throwable[] throwables) {
            super(message);
            if (throwables == null) {
                this.throwables = new Throwable[0];
            } else {
                this.throwables = throwables;
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getCausalChain;
    import static com.google.common.base.Throwables.getCauseAs;
    import static com.google.common.base.Throwables.getRootCause;
    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.collect.Lists;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CloserTest.java

        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
        private final Throwable suppressed;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.collect.Lists;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CloserTest.java

        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
        private final Throwable suppressed;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

          } catch (InterruptedException e) {
            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. proguard/base.pro

    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top