Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for getCauses (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

            int count = 1;
            for (final Throwable t : throwables) {
                s.println("Caused " + count + ":");
                t.printStackTrace(s);
                count++;
            }
        }
    
        public Throwable[] getCauses() {
            return throwables;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                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();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        ExecutionException e =
            assertThrows(
                ExecutionException.class,
                () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e.getCause()).isEqualTo(exception);
      }
    
      public void testCallWithTimeout_wrapsUncheckedException() throws Exception {
        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertEquals(CHECKED_EXCEPTION, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionUnchecked() {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class,
                () -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION));
        assertEquals(UNCHECKED_EXCEPTION, expected.getCause());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertEquals(CHECKED_EXCEPTION, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionUnchecked() {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class,
                () -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION));
        assertEquals(UNCHECKED_EXCEPTION, expected.getCause());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        ExecutionException e =
            assertThrows(
                ExecutionException.class,
                () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e.getCause()).isEqualTo(exception);
      }
    
      public void testCallWithTimeout_wrapsUncheckedException() throws Exception {
        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcException.java

         */
        public int getErrorCode () {
            return this.error;
        }
    
    
        /**
         * 
         * @return the root cause
         * @deprecated use {@link #getCause()}
         */
        @Deprecated
        public Throwable getRootCause () {
            return getCause();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

                        next.getSQLState())).append("], [");
                next = next.getNextException();
            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/NullCacheTest.java

        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top