- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 198 for Cause (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
// Test constructor with message and cause String message = "SSO authentication error"; Exception cause = new RuntimeException("Token validation failed"); SsoLoginException exception = new SsoLoginException(message, cause); assertEquals(message, exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(cause, exception.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
private long extractNtStatus(Throwable cause) { if (cause instanceof SmbException) { return ((SmbException) cause).getNtStatus(); } return 0; } private String extractServerMessage(Throwable cause) { if (cause instanceof SmbException) { // Try to get server message from SMB exception return cause.getMessage(); } return null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
String message = "Test error message"; Exception cause = new RuntimeException("Root cause"); DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause); assertEquals(url, exception.getUrl()); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertFalse(exception.aborted()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
// Test constructor with null component name and valid cause Throwable cause = new RuntimeException("Test cause"); ContainerNotAvailableException exception = new ContainerNotAvailableException(null, cause); assertEquals("null is not available.", exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getComponentName()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
@Test @DisplayName("Should provide correct cause for constructor with cause only") void testCauseOnlyConstructorMessage() { // Given RuntimeException cause = new RuntimeException("Specific cause message"); // When RuntimeCIFSException exception = new RuntimeCIFSException(cause); // Then assertEquals(cause, exception.getCause());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
final Exception cause = new RuntimeException("Test cause"); // Execute final SsoMessageException exception = new SsoMessageException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
assertThat(getRootCause(exception)).isSameInstanceAs(cause); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> getRootCause(cause)); assertThat(expected).hasCauseThat().isSameInstanceAs(cause); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
// Test constructor with message and cause String message = "Failed to generate thumbnail for document"; Exception cause = new RuntimeException("Image processing error"); ThumbnailGenerationException exception = new ThumbnailGenerationException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testGetRootCause() { Exception rootCause = new IllegalStateException("Test root cause"); TransportException exception = new TransportException("Message", rootCause); assertEquals(rootCause, exception.getRootCause()); } @Test @DisplayName("Should return null when no root cause") void testGetRootCauseWhenNull() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final Exception cause = new RuntimeException("Underlying error"); // Execute final InvalidQueryException exception = new InvalidQueryException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0)