- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testCauseConstructor (0.14 seconds)
-
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a cause. */ @Test void testCauseConstructor() { Throwable cause = new RuntimeException("Root cause"); PACDecodingException e = new PACDecodingException(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) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(message, exception.getMessage(), "Message should match the provided string"); assertNull(exception.getCause(), "Cause should be null for message-only constructor"); } @Test void testCauseConstructor() { // Test the constructor with a cause argument Throwable cause = new RuntimeException("Root cause"); RequestTimeoutException exception = new RequestTimeoutException(cause);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertNull(exception.getCause(), "Cause should be null"); } @Test @DisplayName("Cause constructor should create exception with cryptographic cause") void testCauseConstructor() { // Given NoSuchAlgorithmException cause = new NoSuchAlgorithmException("AES-GCM algorithm not available"); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0)