- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for getCauses (0.89 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java
count++; } } /** * Returns the array of Throwables that caused this exception. * @return The array of Throwables. */ public Throwable[] getCauses() { return throwables; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
// Then assertNotNull(restored); assertEquals("serialize me", restored.getMessage()); assertNotNull(restored.getCause()); assertEquals(IllegalArgumentException.class, restored.getCause().getClass()); assertEquals("iaex", restored.getCause().getMessage()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
assertEquals("Final message", exception.getMessage()); assertSame(intermediateCause, exception.getCause()); assertSame(rootCause, exception.getCause().getCause()); } @Test public void testToString() { String message = "Test error message"; CurlException exception = new CurlException(message);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNull(nullCauseException.getCause()); // Test with both null TransportException bothNullException = new TransportException(null, null); assertNull(bothNullException.getMessage()); assertNull(bothNullException.getCause()); } @Test @DisplayName("Test deprecated getRootCause method returns the same as getCause") @SuppressWarnings("deprecation")
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/smb/SMBSignatureValidationExceptionTest.java
} else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); } assertSame(cause, ex.getCause(), "Cause should be stored and retrievable"); assertSame(cause, ex.getRootCause(), "Deprecated getRootCause should match getCause"); assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
*/ @Test void testDefaultConstructor() { PACDecodingException e = new PACDecodingException(); // Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() { String errorMessage = "This is a test error message.";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(); // Then assertNull(exception.getMessage(), "Default constructor should have null message"); assertNull(exception.getCause(), "Default constructor should have null cause"); assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
CIFSException exception = new CIFSException(message, cause); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should create CIFSException with cause only") void testCIFSExceptionWithCauseOnly() { // Given Exception cause = new RuntimeException("Root cause");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)