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.
JavaToolResult.getExitCode()
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
JavaToolException(java.lang.String message) |
JavaToolException(java.lang.String message,
java.lang.Throwable cause) |
private static final long serialVersionUID
public JavaToolException(java.lang.String message)
message
- The message of the exception.public JavaToolException(java.lang.String message, java.lang.Throwable cause)
message
- The message of the exception.cause
- The cause of the exception.