Home » maven-2.0.9-src » org.apache » maven » plugin » [javadoc | source]
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.
Fields inherited from org.apache.maven.plugin.AbstractMojoExecutionException:
source,  longMessage
Constructor:
 public MojoExecutionException(String message) 
    Construct a new MojoExecutionException exception providing a message.
    Parameters:
    message -
 public MojoExecutionException(String message,
    Exception cause) 
    Construct a new MojoExecutionException exception wrapping an underlying Exception and providing a message.
    Parameters:
    message -
    cause -
 public MojoExecutionException(String message,
    Throwable 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) 
    Construct a new MojoExecutionException exception providing the source and a short and long message.
    Parameters:
    source -
    shortMessage -
    longMessage -
Methods from org.apache.maven.plugin.AbstractMojoExecutionException:
getLongMessage,   getSource
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait