public abstract class AbstractMojoExecutionException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected String |
longMessage |
protected Object |
source |
| Constructor and Description |
|---|
AbstractMojoExecutionException(String message) |
AbstractMojoExecutionException(String message,
Throwable cause) |
AbstractMojoExecutionException(Throwable cause)
Constructs a new
AbstractMojoExecutionException exception wrapping an underlying Throwable. |
| Modifier and Type | Method and Description |
|---|---|
String |
getLongMessage() |
Object |
getSource() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractMojoExecutionException(String message)
public AbstractMojoExecutionException(String message, Throwable cause)
public AbstractMojoExecutionException(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.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.