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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMojoExecutionException(String message) AbstractMojoExecutionException(String message, Throwable cause) Constructs a newAbstractMojoExecutionExceptionexception 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 newAbstractMojoExecutionExceptionexception wrapping an underlyingThrowable.- Parameters:
cause- the cause which is saved for later retrieval by theThrowable.getCause()method. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.- Since:
- 3.8.3
-
-
Method Details
-
getLongMessage
-
getSource
-