Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getRootCause (0.4 seconds)

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

        SomeCheckedException exception = new SomeCheckedException();
        assertThat(getRootCause(exception)).isSameInstanceAs(exception);
      }
    
      public void testGetRootCause_singleWrapped() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(cause);
        assertThat(getRootCause(exception)).isSameInstanceAs(cause);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException exception = new SomeCheckedException();
        assertThat(getRootCause(exception)).isSameInstanceAs(exception);
      }
    
      public void testGetRootCause_singleWrapped() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(cause);
        assertThat(getRootCause(exception)).isSameInstanceAs(cause);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertEquals(rootCause, exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should handle null root cause")
            void testConstructorWithNullRootCause() {
                TransportException exception = new TransportException((Throwable) null);
    
                assertNotNull(exception);
                assertNull(exception.getRootCause());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top