Class JavaToolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.shared.utils.cli.javatool.JavaToolException
-
- All Implemented Interfaces:
java.io.Serializable
public class JavaToolException extends java.lang.ExceptionSignals an error during the construction of the command line used to invoke java tool, e.g. illegal invocation arguments.
This should not be confused with a failure of the invoked java tool build itself which will be reported by means of a non-zero exit code.
- Since:
- 0.5
- See Also:
JavaToolResult.getExitCode(), Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JavaToolException(java.lang.String message)JavaToolException(java.lang.String message, java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JavaToolException
public JavaToolException(java.lang.String message)
- Parameters:
message- The message of the exception.
-
JavaToolException
public JavaToolException(java.lang.String message, java.lang.Throwable cause)- Parameters:
message- The message of the exception.cause- The cause of the exception.
-
-