- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testConstructorWithMessageAndCause (0.12 sec)
-
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNull(nullCauseException.getCause()); } @Test @DisplayName("Test constructor with message and cause creates exception with both") public void testConstructorWithMessageAndCause() { // Create exception with both message and cause String message = "Transport error occurred"; IllegalStateException rootCause = new IllegalStateException("State error");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test constructor DcerpcException(String msg, Throwable rootCause). */ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception.getMessage().contains("Invalid argument")); } @Test @DisplayName("Should create RuntimeCIFSException with message and cause") void testConstructorWithMessageAndCause() { // Given String message = "CIFS operation failed"; Throwable cause = new RuntimeException("Root cause"); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0)