public static class ExitUtil.HaltException extends RuntimeException implements ExitCodeProvider
ExitUtil.terminate(int) was
 called and system halts were blocked.| Modifier and Type | Field and Description | 
|---|---|
int | 
status  | 
| Constructor and Description | 
|---|
ExitUtil.HaltException(int status,
                      String msg)  | 
ExitUtil.HaltException(int status,
                      String message,
                      Throwable cause)  | 
ExitUtil.HaltException(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.HaltException(int status,
                      Throwable cause)
public ExitUtil.HaltException(int status,
                      String msg)
public int getExitCode()
ExitCodeProvidergetExitCode in interface ExitCodeProviderCopyright © 2018 Apache Software Foundation. All Rights Reserved.