|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.maven.plugin.AbstractMojoExecutionException
org.apache.maven.plugin.MojoFailureException
public class MojoFailureException
An exception occuring during the execution of a plugin (such as a compilation failure).
Throwing this exception causes a "BUILD FAILURE" message to be displayed.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException |
|---|
longMessage, source |
| Constructor Summary | |
|---|---|
MojoFailureException(java.lang.Object source,
java.lang.String shortMessage,
java.lang.String longMessage)
Construct a new MojoFailureException exception providing the source and a short and long message. |
|
MojoFailureException(java.lang.String message)
Construct a new MojoFailureException exception providing a message. |
|
| Method Summary |
|---|
| 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 MojoFailureException(java.lang.Object source,
java.lang.String shortMessage,
java.lang.String longMessage)
MojoFailureException exception providing the source and a short and long message.
source - shortMessage - longMessage - public MojoFailureException(java.lang.String message)
MojoFailureException exception providing a message.
message -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||