- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,571 for cause (0.01 sec)
-
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
void testWithCause() { // Given IllegalArgumentException cause = new IllegalArgumentException("bad arg"); // When SpnegoException ex = new SpnegoException(cause); // Then assertNotNull(ex); assertEquals(cause, ex.getCause()); // IOException(Throwable) sets message to cause.toString()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
// Test constructor with message and cause String message = "Test scheduled job error with cause"; Throwable cause = new RuntimeException("Root cause exception"); ScheduledJobException exception = new ScheduledJobException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals("Root cause exception", exception.getCause().getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalNotification.java
@Nullable K key, @Nullable V value, RemovalCause cause) { return new RemovalNotification<>(key, value, cause); } private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/FessSystemException.java
/** * Constructs a new FessSystemException with the specified detail message and cause. * * @param message the detail message describing the exception * @param cause the cause of this exception */ public FessSystemException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a new FessSystemException with the specified detail message.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
} public void test_toStringMethodWithCause() { // Test toString method behavior with cause String message = "Plugin error with cause"; Throwable cause = new RuntimeException("Root cause"); PluginException exception = new PluginException(message, cause); String toStringResult = exception.toString(); assertNotNull(toStringResult);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
public TwoArgConstructorException(String message, Throwable cause) { super(message, cause); } } public static final class TwoArgConstructorRuntimeException extends RuntimeException { public TwoArgConstructorRuntimeException(String message, Throwable cause) { super(message, cause); } } public static final class ExceptionWithPrivateConstructor extends Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (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;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
// Then assertSame(cause, exception.getCause(), "Crypto cause should be preserved"); assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided"); } @Test @DisplayName("Message and cause constructor should preserve both crypto parameters") void testMessageAndCauseConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)