java.io.Serializable, ExitCodeProviderKDiag.KerberosDiagsFailure, ServiceLaunchExceptionpublic static class ExitUtil.ExitException extends java.lang.RuntimeException implements ExitCodeProvider
ExitUtil.terminate(int) was
called and system exits were blocked.| Modifier and Type | Field | Description |
|---|---|---|
int |
status |
The status code.
|
| Constructor | Description |
|---|---|
ExitException(int status,
java.lang.String msg) |
|
ExitException(int status,
java.lang.String message,
java.lang.Throwable cause) |
|
ExitException(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 ExitException(int status,
java.lang.String msg)
public ExitException(int status,
java.lang.String message,
java.lang.Throwable cause)
public ExitException(int status,
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.