org.apache.maven.plugin
public class: MojoExecutionException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.plugin.AbstractMojoExecutionException
org.apache.maven.plugin.MojoExecutionException
All Implemented Interfaces:
Serializable
An exception occuring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
- author:
Brett - Porter
- version:
$ - Id: MojoExecutionException.java 640545 2008-03-24 19:50:56Z bentmann $
| Constructor: |
public MojoExecutionException(String message) {
super( message );
}
Construct a new MojoExecutionException exception providing a message. |
public MojoExecutionException(String message,
Exception cause) {
super( message, cause );
}
Construct a new MojoExecutionException exception wrapping an underlying Exception
and providing a message. Parameters:
message -
cause -
|
public MojoExecutionException(String message,
Throwable cause) {
super( message, cause );
}
Construct a new MojoExecutionException exception wrapping an underlying Throwable
and providing a message. Parameters:
message -
cause -
|
public MojoExecutionException(Object source,
String shortMessage,
String longMessage) {
super( shortMessage );
this.source = source;
this.longMessage = longMessage;
}
Construct a new MojoExecutionException exception providing the source and a short and long message. Parameters:
source -
shortMessage -
longMessage -
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |