public class ExitException
extends java.lang.SecurityException
NoExitSecurityManager,
Permissions,
Serialized Form| Constructor and Description |
|---|
ExitException(int status)
Constructs an exit exception.
|
ExitException(java.lang.String msg,
int status)
Constructs an exit exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
The status code returned by System.exit()
|
public ExitException(int status)
status - the status code returned via System.exit()public ExitException(java.lang.String msg,
int status)
msg - the message to be displayed.status - the status code returned via System.exit()