public class ApplicationException extends Exception
If an exception if this type is thrown should cause program termination with the exit code.
| Modifier and Type | Field and Description |
|---|---|
private ExitCode |
exitCode
Exit code used to return to JVM.
|
| Constructor and Description |
|---|
ApplicationException(ExitCode exitCode,
String message)
Initializes the cause with
null. |
ApplicationException(ExitCode exitCode,
String message,
Throwable cause)
Dedicated constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ExitCode |
getExitCode()
Get program exit code.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceCopyright © 2014 Sven Strittmatter. All Rights Reserved.