Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for Throwable (0.19 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. 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)
  5. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            try {
                final CrawlerContext crawlerContext = (CrawlerContext) objs[0];
                final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
                Throwable e = (Throwable) objs[2];
                if (e instanceof MultipleCrawlingAccessException) {
                    final Throwable[] causes = ((MultipleCrawlingAccessException) e).getCauses();
                    if (causes.length > 0) {
                        e = causes[causes.length - 1];
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        public void fatal(final String message, final Throwable t) {
            logger.fatal(message, t);
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isErrorEnabled();
        }
    
        @Override
        public void error(final String message) {
            logger.error(message);
        }
    
        @Override
        public void error(final String message, final Throwable t) {
            logger.error(message, t);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. 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;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        }
    
        @Override
        public void fatal(final String message) {
            logger.logp(Level.SEVERE, sourceClass, null, message);
        }
    
        @Override
        public void fatal(final String message, final Throwable t) {
            logger.logp(Level.SEVERE, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isLoggable(Level.SEVERE);
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/JobProcessingException.java

    public class JobProcessingException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        public JobProcessingException(final Throwable e) {
            super(e);
        }
    
        public JobProcessingException(final String message, final Throwable e) {
            super(message, e);
        }
    
        public JobProcessingException(final String message) {
            super(message);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1K bytes
    - Viewed (0)
  10. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top