- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,571 for cause (0.02 sec)
-
guava/src/com/google/common/util/concurrent/AbstractService.java
*/ protected final void notifyFailed(Throwable cause) { checkNotNull(cause); monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: throw new IllegalStateException("Failed while in state:" + previous, cause); case RUNNING: case STARTING: case STOPPING:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K 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) -
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) -
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) -
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) -
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/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) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
} } @Test @DisplayName("Cause-only constructor: preserves provided cause; no interactions with cause") void causeOnlyConstructor_preservesCause_andNoInteractions() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(mockCause); // Assert cause propagation assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K 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) -
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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)