- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 208 for getCause (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
this.cause = cause; } /** * Gets the cause of the build failure. * * @return The cause of the build failure or {@code null} if unknown. */ public Throwable getCause() { return cause; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 2.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
} /** * Constructs a new {@code MojoExecutionException} 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. */ public MojoException(Throwable cause) { super(cause); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon May 13 09:53:45 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
return project; } public MojoExecution getExecution() { return mojoExecution; } public Mojo getMojo() { return mojo; } public Throwable getCause() { return cause; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
} public MavenProject getProject() { return project; } public List<MojoExecution> getExecutionPlan() { return executionPlan; } public Throwable getCause() { return 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
* 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 InterpolatorException(String message, Throwable cause) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
assertEquals("dbConnection", topException.getComponentName()); assertEquals(middleCause, topException.getCause()); assertEquals(rootCause, topException.getCause().getCause()); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception String componentName = "cacheManager"; try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
} /** * Constructs a new {@code MojoExecutionException} 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 MojoExecutionException(Throwable cause) { super(cause);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
import org.jspecify.annotations.Nullable; /** * Unchecked variant of {@link java.util.concurrent.ExecutionException}. As with {@code * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task, * possibly run in another thread. * * <p>{@code UncheckedExecutionException} is intended as an alternative to {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
String fullMessage = (message != null) ? message : ""; // To break out of possible endless loop when getCause returns "this", or dejaVu for n-level recursion (n>1) Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>()); for (Throwable t = exception; t != null && t != t.getCause(); t = t.getCause()) { String exceptionMessage = t.getMessage(); String longMessage = null;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// When SmbException finalException = new SmbException("Final error", intermediateCause); // Then assertEquals(intermediateCause, finalException.getCause()); assertEquals(rootCause, finalException.getCause().getCause()); } @Test @DisplayName("Should handle null message gracefully") void testNullMessage() { // When/Then assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0)