Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Throwables (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            val addresses = Dns.SYSTEM.lookup(hostname)
            listOf(addresses[0])
          }
    
        private operator fun Throwable?.plus(throwable: Throwable): Throwable {
          if (this != null) {
            addSuppressed(throwable)
            return this
          }
          return throwable
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            try {
                Throwable t = cae;
                if (t instanceof final MultipleCrawlingAccessException mcae) {
                    final Throwable[] causes = mcae.getCauses();
                    if (causes.length > 0) {
                        t = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = t.getCause();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
                logger.error("System Error.", t);
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        final Object result;
        final Throwable throwable;
    
        Response(String methodName, @Nullable Object result, @Nullable Throwable throwable) {
          this.methodName = methodName;
          this.result = result;
          this.throwable = throwable;
        }
    
        Object getResult() {
          if (throwable != null) {
            throw new AssertionError(throwable);
          }
          return result;
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertFalse(response1.hasError());
    
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error"));
            SuggestIndexResponse response2 = new SuggestIndexResponse(10, 5, errors, 100);
            assertTrue(response2.hasError());
        }
    
        @Test
        public void test_getErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top