- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,078 for cause (0.08 sec)
-
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 causeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
internal/s3select/sql/errors.go
package sql import "fmt" type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java
* The abort flag is set to false by default. * * @param url the URL where the crawling error occurred * @param message the error message * @param cause the underlying exception that caused this error */ public DataStoreCrawlingException(final String url, final String message, final Throwable cause) { this(url, message, cause, false); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 08:04:23 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
* * @param message * @param cause * @since 2.0.9 */ public MojoFailureException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoFailureException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
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. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (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());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginLoaderException.java
super(message, cause); pluginKey = plugin.getKey(); } public PluginLoaderException(Plugin plugin, String message, PluginManagerException cause) { super(message, cause); pluginKey = plugin.getKey(); } public PluginLoaderException(Plugin plugin, String message, PluginVersionNotFoundException cause) { super(message, cause); pluginKey = plugin.getKey();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (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);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/smb1/smb1/SmbExceptionTest.java
void testToStringWithRootCause() { RuntimeException cause = new RuntimeException("boom"); SmbException ex = new SmbException(0, cause); assertTrue(ex.toString().contains("RuntimeException"), "String representation must include the root cause stack trace"); } /** * Verify that {@link #toString()} with no root cause equals the default
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (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. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0)