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.Exception
Signals 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
- Author:
- Tony Chemit
- See Also:
JavaToolResult.getExitCode()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaToolException(java.lang.String message)
JavaToolException(java.lang.String message, java.lang.Throwable cause)
-
-
-
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.
-
-