- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MojoException (0.1 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
} /** * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable} * and providing a {@code message}. */ public MojoException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoException} providing a {@code message}. */ public MojoException(String message) { super(message); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
/** * This interface forms the contract required for Mojos to interact with the Maven infrastructure. * It features an {@link #execute()} method, which triggers the Mojo's build-process behavior, * and can throw a {@link MojoException} if error conditions occur. * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer @ThreadSafe public interface Mojo { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Aug 26 13:14:03 UTC 2024 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
if (t instanceof AbstractMojoExecutionException) { longMessage = ((AbstractMojoExecutionException) t).getLongMessage(); } else if (t instanceof MojoException) { longMessage = ((MojoException) t).getLongMessage(); } if (longMessage != null && !longMessage.isEmpty()) { if ((exceptionMessage == null || exceptionMessage.isEmpty())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0)