- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testThrowableConstructor (0.08 seconds)
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0)