Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCauseAs (0.21 sec)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
      }
    
      @GwtIncompatible // Throwables.getCauseAs(Throwable, Class)
      public void testGetCauseAs() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
        assertThat(Throwables.getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
      }
    
      @GwtIncompatible // Throwables.getCauseAs(Throwable, Class)
      public void testGetCauseAs() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
        assertThat(Throwables.getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       * (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.
       *
       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
    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

       * (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.
       *
       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
    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. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                Throwable e = (Throwable) objs[2];
                if (e instanceof MultipleCrawlingAccessException) {
                    final Throwable[] causes = ((MultipleCrawlingAccessException) e).getCauses();
                    if (causes.length > 0) {
                        e = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = e.getCause();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. 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)
Back to top