class TerminatingException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
private int |
exitCode
exit status code to be reported to the OS
|
Constructor and Description |
---|
TerminatingException(String message)
Constructor.
|
TerminatingException(String message,
int exitCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getExitCode()
Return the exit status code to be reported to the OS.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final int exitCode
TerminatingException(String message, int exitCode)
message
- Exception message; saved for later retrieval by the Throwable.getMessage() methodexitCode
- Exit status code; saved for later retrieval by the TerminatingException.getExitCode()
methodTerminatingException(String message)
message
- Exception message; saved for later retrieval by the Throwable.getMessage() methodint getExitCode()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses