- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testThrowableConstructor (0.34 sec)
-
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)