java.io.Serializable, ExitCodeProviderpublic static class ExitUtil.HaltException extends java.lang.RuntimeException implements ExitCodeProvider
ExitUtil.terminate(int) was
called and system halts were blocked.| Modifier and Type | Field | Description |
|---|---|---|
int |
status |
| Constructor | Description |
|---|---|
HaltException(int status,
java.lang.String msg) |
|
HaltException(int status,
java.lang.String message,
java.lang.Throwable cause) |
|
HaltException(int status,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExitCode() |
Method to get the exit code.
|
java.lang.String |
toString() |
String value does not include exception type, just exit code and message.
|
public HaltException(int status,
java.lang.Throwable cause)
public HaltException(int status,
java.lang.String msg)
public HaltException(int status,
java.lang.String message,
java.lang.Throwable cause)
public int getExitCode()
ExitCodeProvidergetExitCode in interface ExitCodeProviderpublic java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2008–2025 Apache Software Foundation. All rights reserved.