- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 561 for Cause (0.01 sec)
-
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
} public void test_constructor_withCause() { // Test with cause only Exception cause = new IllegalStateException("Underlying error"); DataStoreException exception = new DataStoreException(cause); assertNotNull(exception); assertEquals(cause, exception.getCause()); assertEquals("java.lang.IllegalStateException: Underlying error", exception.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_unchecked() { RuntimeException cause = new RuntimeException(); AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
// Test constructor with message and cause String message = "Command execution failed with error"; Throwable cause = new IllegalStateException("Invalid state"); CommandExecutionException exception = new CommandExecutionException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause"); final JobProcessingException exception = new JobProcessingException(cause); assertNotNull(exception); assertEquals(cause, exception.getCause()); assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
} /** * Creates an SMB exception with cause * * @param message the error message * @param errorCode the SMB error code * @param severity the error severity * @param category the error category * @param cause the cause exception */ public SmbException(String message, int errorCode, Severity severity, Category category, Throwable cause) { super(message, cause);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
} } catch (ite: InvocationTargetException) { if (!expectedFailure(className, ite.cause!!)) { throw ite.cause!! } } } @Suppress("UNUSED_PARAMETER") private fun expectedFailure( className: String, cause: Throwable, ): Boolean = when (className) { "okhttp3.recipes.CheckHandshake" -> true // by designRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* the License. */ package com.google.common.util.concurrent.internal; /** * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure. * * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from * this optimization, so there is no need to specialize methods to return or accept this type
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
public DcerpcException(final String msg) { super(msg); } /** * Constructs a DcerpcException with the specified message and root cause * * @param msg * the error message * @param rootCause * the underlying cause of this exception */ public DcerpcException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NoSuchPaddingRuntimeException.java
/** * Creates a {@link NoSuchPaddingRuntimeException}. * * @param cause the underlying exception */ public NoSuchPaddingRuntimeException(final NoSuchPaddingException cause) { super("ECL0069", asArray(cause), cause); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeploymentException.java
public ArtifactDeploymentException(String message) { super(message); } public ArtifactDeploymentException(Throwable cause) { super(cause); } public ArtifactDeploymentException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0)