Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testExceptionChaining (0.25 sec)

  1. src/test/java/org/codelibs/curl/CurlExceptionTest.java

                // Field doesn't exist
            }
            assertTrue("CurlException should have serialVersionUID field", hasSerialVersionUID);
        }
    
        @Test
        public void testExceptionChaining() {
            IOException rootCause = new IOException("Root cause");
            RuntimeException intermediateCause = new RuntimeException("Intermediate", rootCause);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new IllegalStateException("Root error");
            RuntimeCIFSException intermediateCause = new RuntimeCIFSException("Intermediate", rootCause);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbExceptionTest.java

                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        @DisplayName("Should handle exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new RuntimeException("Root cause");
            SmbException intermediateCause = new SmbException("Intermediate", rootCause);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top