Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for Throwable (0.26 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. guava-tests/test/com/google/common/io/CloserTest.java

        closer.register(null);
        closer.close();
      }
    
      static Throwable[] getSuppressed(Throwable throwable) {
        try {
          Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed");
          return (Throwable[]) getSuppressed.invoke(throwable);
        } catch (Exception e) {
          throw new AssertionError(e); // only called if running on JDK7
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    import static com.google.common.base.Throwables.throwIfInstanceOf;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    import static com.google.common.base.Throwables.throwIfInstanceOf;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Closer.java

        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
              throwable = e;
            } else {
              suppressor.suppress(closeable, throwable, e);
            }
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CloserTest.java

        closer.register(null);
        closer.close();
      }
    
      static Throwable[] getSuppressed(Throwable throwable) {
        try {
          Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed");
          return (Throwable[]) getSuppressed.invoke(throwable);
        } catch (Exception e) {
          throw new AssertionError(e); // only called if running on JDK7
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * @param content
         * @param error
         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Send an exception to the user in the <b>debug</b> error level.<br>
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error
         */
        void debug(Throwable error);
    
        void debug(Supplier<String> content);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    debug(CharSequence); public abstract void debug(CharSequence, Throwable); public abstract void debug(Throwable); public abstract boolean isInfoEnabled(); public abstract void info(CharSequence); public abstract void info(CharSequence, Throwable); public abstract void info(Throwable); public abstract boolean isWarnEnabled(); public abstract void warn(CharSequence); public abstract void warn(CharSequence, Throwable); public abstract void warn(Throwable); public abstract boolean isErrorEnabled(); public abstract...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top