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
public class MavenInvocationException
- extends Exception
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.
- Version:
- $Id: MavenInvocationException.java 662043 2008-05-31 16:27:02Z bentmann $
- See Also:
InvocationResult.getExitCode()
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MavenInvocationException
public MavenInvocationException(String message,
Throwable cause)
- Creates a new exception using the specified detail message and cause.
- Parameters:
message
- The detail message for this exception, may be null
.cause
- The nested exception, may be null
.
MavenInvocationException
public MavenInvocationException(String message)
- Creates a new exception using the specified detail message.
- Parameters:
message
- The detail message for this exception, may be null
.
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.