public abstract class AbstractMojoExecutionException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
longMessage |
protected java.lang.Object |
source |
Constructor and Description |
---|
AbstractMojoExecutionException(java.lang.String message) |
AbstractMojoExecutionException(java.lang.String message,
java.lang.Throwable cause) |
AbstractMojoExecutionException(java.lang.Throwable cause)
Constructs a new
AbstractMojoExecutionException exception wrapping an underlying Throwable . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLongMessage() |
java.lang.Object |
getSource() |
protected java.lang.Object source
protected java.lang.String longMessage
public AbstractMojoExecutionException(java.lang.String message)
public AbstractMojoExecutionException(java.lang.String message, java.lang.Throwable cause)
public AbstractMojoExecutionException(java.lang.Throwable cause)
AbstractMojoExecutionException
exception wrapping an underlying Throwable
.cause
- the cause which is saved for later retrieval by the Throwable.getCause()
method.
A null
value is permitted, and indicates that the cause is nonexistent or unknown.