Class RunFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.scriptinterpreter.RunFailureException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RunErrorException
Signals a failure of a sub build run by the Invoker Plugin. This can be caused by an unsuccessful pre-/post-build
script or a failure of the forked Maven build itself.
- Version:
- $Id: RunFailureException.java 1199475 2011-11-08 21:51:13Z olamy $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
The serial version identifier for this class.private final String
The type of the build failure. -
Constructor Summary
ConstructorsConstructorDescriptionRunFailureException
(String message, String type) Creates a new exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe serial version identifier for this class.- See Also:
-
type
The type of the build failure.
-
-
Constructor Details
-
RunFailureException
Creates a new exception with the specified detail message.- Parameters:
message
- The detail message, may benull
.type
- The type of build failure, may not benull
.
-
-
Method Details
-
getType
Returns the type of build failure.- Returns:
- The type of build failure, never
null
.
-