|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.maven.plugin.AbstractMojoExecutionException org.apache.maven.plugin.MojoExecutionException
An exception occuring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
Field Summary |
Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException |
longMessage, source |
Constructor Summary | |
MojoExecutionException(Object source,
String shortMessage,
String longMessage)
Construct a new MojoExecutionException exception providing the source and a short and long message. |
|
MojoExecutionException(String message)
Construct a new MojoExecutionException exception providing a message . |
|
MojoExecutionException(String message,
Exception cause)
Construct a new MojoExecutionException exception wrapping an underlying Exception
and providing a message . |
|
MojoExecutionException(String message,
Throwable cause)
Construct a new MojoExecutionException exception wrapping an underlying Throwable
and providing a message . |
Methods inherited from class org.apache.maven.plugin.AbstractMojoExecutionException |
getLongMessage, getSource |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MojoExecutionException(Object source, String shortMessage, String longMessage)
MojoExecutionException
exception providing the source and a short and long message.
source
- shortMessage
- longMessage
- public MojoExecutionException(String message, Exception cause)
MojoExecutionException
exception wrapping an underlying Exception
and providing a message
.
message
- cause
- public MojoExecutionException(String message, Throwable cause)
MojoExecutionException
exception wrapping an underlying Throwable
and providing a message
.
message
- cause
- public MojoExecutionException(String message)
MojoExecutionException
exception providing a message
.
message
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |