- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,810 for cause (0.06 seconds)
-
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
Throwable cause1 = exception.getCause(); assertNotNull(cause1); assertTrue(cause1 instanceof IOException); assertEquals("Level 1 error", cause1.getMessage()); Throwable cause2 = cause1.getCause(); assertNotNull(cause2); assertTrue(cause2 instanceof IllegalStateException); assertEquals("Level 2 error", cause2.getMessage());
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) -
internal/s3select/unused-errors.go
statusCode: 400, cause: err, } } func errParseExpectedWhenClause(err error) *s3Error { return &s3Error{ code: "ParseExpectedWhenClause", message: "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.", statusCode: 400, cause: err, } } func errParseUnsupportedToken(err error) *s3Error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
}); // Test throwing and catching with cause RuntimeException cause = new RuntimeException("Cause"); TransportException thrown = assertThrows(TransportException.class, () -> { throw new TransportException(cause); }); assertEquals(cause, thrown.getCause()); // Test throwing and catching with message and causeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Test constructor with null message but valid cause Exception cause = new IllegalArgumentException("Invalid argument"); DictionaryException exception = new DictionaryException(null, cause); assertNotNull(exception); assertNull(exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(cause, exception.getCause()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
// Expect the message to be set correctly and cause to be null 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/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange - use a real cause so message is derived from cause.toString() Throwable cause = new IllegalStateException("proto mismatch"); String expectedMessage = cause.toString(); // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(cause); // Assert - cause preserved, message derived from cause assertSame(cause, ex.getCause());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
/** * Creates a new instance with the given detail message and cause. Prefer to provide a * non-nullable {@code cause}, as many users expect to find one. */ public UncheckedExecutionException(@Nullable String message, @Nullable Throwable cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
assertTrue(exception.aborted()); // Verify the cause chain Throwable cause1 = exception.getCause(); assertTrue(cause1 instanceof RuntimeException); Throwable cause2 = cause1.getCause(); assertTrue(cause2 instanceof AssertionError); Throwable cause3 = cause2.getCause(); assertTrue(cause3 instanceof NullPointerException); } @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) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@Nullable String message, @Nullable Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to * provide a non-nullable {@code cause}, as many users expect to find one. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 2.7K bytes - Click Count (0)