Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for getCauses (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                    final Throwable[] causes = ((MultipleCrawlingAccessException) e).getCauses();
                    if (causes.length > 0) {
                        e = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = e.getCause();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    static final long serialVersionUID = 1; private final java.util.List fErrors; public void InitializationError(java.util.List); public transient void InitializationError(Throwable[]); public void InitializationError(String); public java.util.List getCauses(); } org/junit/internal/runners/MethodRoadie$1.class package org.junit.internal.runners; synchronized class MethodRoadie$1 implements Runnable { void MethodRoadie$1(MethodRoadie, long); public void run(); } org/junit/internal/runners/JUnit4ClassRunner.class...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    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)
  4. android/guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                                && exc.getCause() instanceof PluginResolutionException
                                && exc.getCause().getCause() instanceof ArtifactResolutionException
                                && exc.getCause().getCause().getCause() instanceof ArtifactNotFoundException;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String fullMessage = (message != null) ? message : "";
    
            // To break out of possible endless loop when getCause returns "this"
            for (Throwable t = exception; t != null && t != t.getCause(); t = t.getCause()) {
                String exceptionMessage = t.getMessage();
    
                if (t instanceof AbstractMojoExecutionException) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          throw e;
        } catch (ExecutionException e) {
          wrapAndThrowRuntimeExecutionExceptionOrError(e.getCause());
          throw new AssertionError();
        }
      }
    
      private static Exception throwCause(Exception e, boolean combineStackTraces) throws Exception {
        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

            assertThrows(
                ExecutionException.class,
                () ->
                    timeLimiter.callWithTimeout(
                        callableThrowing(exception), DELAY_MS, TimeUnit.MILLISECONDS));
        assertThat(e.getCause()).isEqualTo(exception);
      }
    
      public void testCallWithTimeout_wrapsUncheckedException() throws Exception {
        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

            assertThrows(
                ExecutionException.class,
                () ->
                    timeLimiter.callWithTimeout(
                        callableThrowing(exception), DELAY_MS, TimeUnit.MILLISECONDS));
        assertThat(e.getCause()).isEqualTo(exception);
      }
    
      public void testCallWithTimeout_wrapsUncheckedException() throws Exception {
        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

          assertEquals(CHECKED_EXCEPTION, expected.getCause());
        }
      }
    
      public void testGetUnchecked_ExecutionExceptionUnchecked() {
        try {
          getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION);
          fail();
        } catch (UncheckedExecutionException expected) {
          assertEquals(UNCHECKED_EXCEPTION, expected.getCause());
        }
      }
    
      public void testGetUnchecked_ExecutionExceptionError() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top