Package org.apache.maven.shared.invoker
Class MavenInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.invoker.MavenInvocationException
- All Implemented Interfaces:
Serializable
Signals an error during the construction of the command line used to invoke Maven, e.g. illegal invocation arguments.
This should not be confused with a failure of the invoked Maven build itself which will be reported by means of a
non-zero exit code.
- See Also:
-
Constructor Summary
ConstructorDescriptionMavenInvocationException
(String message) Creates a new exception using the specified detail message.MavenInvocationException
(String message, Throwable cause) Creates a new exception using the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MavenInvocationException
Creates a new exception using the specified detail message and cause.- Parameters:
message
- The detail message for this exception, may benull
.cause
- The nested exception, may benull
.
-
MavenInvocationException
Creates a new exception using the specified detail message.- Parameters:
message
- The detail message for this exception, may benull
.
-