public class ToolRunException
extends java.lang.Exception
| Constructor and Description |
|---|
ToolRunException(java.lang.String message)
Construct a ToolRunException with a simple error message.
|
ToolRunException(java.lang.String message,
java.lang.Throwable baseThrowable)
Construct a ToolRunException with a simple error message and a base
throwable.
|
ToolRunException(java.lang.Throwable baseThrowable)
Construct a ToolRunException with a base throwable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getBaseThrowable()
Get the base throwable for this exception, if any.
|
public ToolRunException(java.lang.String message)
message - a description of what went wrong. This may be displayed
to the user, so should be translated where possible.public ToolRunException(java.lang.String message,
java.lang.Throwable baseThrowable)
message - a description of what went wrong. This may be displayed
to the user, so should be translated where possible.baseThrowable - the base Throwable that caused the tool to fail.
This information may be provided to the user to provide more information
about why running a tool failed.public ToolRunException(java.lang.Throwable baseThrowable)
baseThrowable - the base Throwable that caused the tool to fail.
This information may be provided to the user to provide more information
about why running a tool failed.