Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testThrowableConstructor (0.34 sec)

  1. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            assertEquals(message, exception.getMessage(), "Message should match the provided string");
            assertNull(exception.getCause(), "Cause should be null for string constructor");
        }
    
        @Test
        void testThrowableConstructor() {
            // Test the constructor with a cause
            Throwable cause = new RuntimeException("Root cause of timeout");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top