Package org.apache.maven.plugin
Class AbstractMojoExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.plugin.AbstractMojoExecutionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MojoExecutionException
,MojoFailureException
Base exception.
- Author:
- Brett Porter
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractMojoExecutionException
(String message) AbstractMojoExecutionException
(String message, Throwable cause) Constructs a newAbstractMojoExecutionException
exception wrapping an underlyingThrowable
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
source
-
longMessage
-
-
Constructor Details
-
AbstractMojoExecutionException
-
AbstractMojoExecutionException
-
AbstractMojoExecutionException
Constructs a newAbstractMojoExecutionException
exception wrapping an underlyingThrowable
.- Parameters:
cause
- the cause which is saved for later retrieval by theThrowable.getCause()
method. Anull
value is permitted, and indicates that the cause is nonexistent or unknown.- Since:
- 3.8.3
-
-
Method Details
-
getLongMessage
-
getSource
-