Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRootCause (0.11 sec)

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

        SomeCheckedException exception = new SomeCheckedException();
        assertSame(exception, getRootCause(exception));
      }
    
      public void testGetRootCause_singleWrapped() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(cause);
        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_doubleWrapped() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException exception = new SomeCheckedException();
        assertSame(exception, getRootCause(exception));
      }
    
      public void testGetRootCause_singleWrapped() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(cause);
        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_doubleWrapped() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top