Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for Throwables (0.05 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

        /**
         * Creates a new MultipleCrawlingAccessException with the specified detail message and array of throwables.
         *
         * @param message the detail message explaining the reason for the exception
         * @param throwables the array of throwables that caused this exception
         */
        public MultipleCrawlingAccessException(final String message, final Throwable[] throwables) {
            super(message);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestDeleteResponse.
         * @param errors A list of Throwables representing errors.
         * @param took The time taken for the operation in milliseconds.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        /** List of errors. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestIndexResponse.
         * @param numberOfSuggestDocs The number of suggest documents.
         * @param numberOfInputDocs The number of input documents.
         * @param errors A list of Throwables representing errors.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

            // nothing
        }
    
        /**
         * A list of Throwables representing failures that occurred during the operation.
         */
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        /**
         * Adds a Throwable to the list of failures.
         *
         * @param t the Throwable to add
         */
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        Throwable exception = null;
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 01 13:14:50 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        Throwable exception = null;
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 01 13:14:50 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_IO_TMPDIR;
    import static com.google.common.base.StandardSystemProperty.USER_NAME;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static java.nio.file.attribute.AclEntryFlag.DIRECTORY_INHERIT;
    import static java.nio.file.attribute.AclEntryFlag.FILE_INHERIT;
    import static java.nio.file.attribute.AclEntryType.ALLOW;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top