public static class ExitUtil.ExitException extends RuntimeException implements ExitCodeProvider
ExitUtil.terminate(int) was
called and system exits were blocked.| Modifier and Type | Field and Description |
|---|---|
int |
status
The status code.
|
| Constructor and Description |
|---|
ExitUtil.ExitException(int status,
String msg) |
ExitUtil.ExitException(int status,
String message,
Throwable cause) |
ExitUtil.ExitException(int status,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExitCode()
Method to get the exit code.
|
String |
toString()
String value does not include exception type, just exit code and message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ExitUtil.ExitException(int status,
String msg)
public ExitUtil.ExitException(int status,
Throwable cause)
public int getExitCode()
ExitCodeProvidergetExitCode in interface ExitCodeProviderCopyright © 2022 Apache Software Foundation. All rights reserved.