Package org.apache.maven.plugin
Class AbstractMojoExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.plugin.AbstractMojoExecutionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MojoExecutionException,MojoFailureException
public abstract class AbstractMojoExecutionException extends java.lang.ExceptionBase exception.- Author:
- Brett Porter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringlongMessageprotected java.lang.Objectsource
-
Constructor Summary
Constructors Constructor Description AbstractMojoExecutionException(java.lang.String message)AbstractMojoExecutionException(java.lang.String message, java.lang.Throwable cause)AbstractMojoExecutionException(java.lang.Throwable cause)Constructs a newAbstractMojoExecutionExceptionexception wrapping an underlyingThrowable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLongMessage()java.lang.ObjectgetSource()
-
-
-
Constructor Detail
-
AbstractMojoExecutionException
public AbstractMojoExecutionException(java.lang.String message)
-
AbstractMojoExecutionException
public AbstractMojoExecutionException(java.lang.String message, java.lang.Throwable cause)
-
AbstractMojoExecutionException
public AbstractMojoExecutionException(java.lang.Throwable cause)
Constructs a newAbstractMojoExecutionExceptionexception wrapping an underlyingThrowable.- Parameters:
cause- the cause which is saved for later retrieval by theThrowable.getCause()method. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.- Since:
- 3.8.3
-
-