- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 208 for getCause (0.05 seconds)
-
src/main/java/org/codelibs/curl/CurlException.java
* * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). * (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.) */ public CurlException(final String message, final Throwable cause) {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Jul 05 01:38:18 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
} /** * 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. * A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown. * @since 3.8.3 */ public MojoFailureException(Throwable cause) { super(cause);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/RemovalNotification.java
super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /** * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}). */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/TransportException.java
} /** * Gets the root cause of this exception. * @return root cause of this exception */ @Deprecated public Throwable getRootCause() { return getCause(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java
this.projectId = projectId; } public MojoFailureException getMojoFailureException() { return (MojoFailureException) getCause(); } public String getProjectId() { return projectId; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/RemovalNotification.java
super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /** * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}). */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
assertEquals(400, exception.getStatusCode()); assertEquals("Runtime error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals(innerCause, exception.getCause().getCause()); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception int expectedStatusCode = 403;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (e.getCause() instanceof MultipleArtifactsNotFoundException) { return true; } return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException && e.getCause().getCause() instanceof ArtifactNotFoundException; } private boolean isNonTransferablePom(Exception e) { if (e.getCause() instanceof ArtifactResolutionException) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertEquals("Theme operation failed", exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(middleCause, exception.getCause()); assertEquals("Processing failed", exception.getCause().getMessage()); // Check nested cause Throwable nestedCause = exception.getCause().getCause(); assertNotNull(nestedCause); assertEquals(innerCause, nestedCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
final SsoMessageException exception = new SsoMessageException(messageCode, message, middleCause); // Verify cause chain assertEquals(middleCause, exception.getCause()); assertEquals(rootCause, exception.getCause().getCause()); } @Test public void test_emptyMessage() { // Setup final String message = "";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0)