Deprecated
as a consequence of SecurityManager
being deprecated. See corresponding docs for further information.
This class is no longer supported in Java runtime versions 18 and higher.
ExitException
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | checkExit(int
the exit status status)Overrides java. |
public void | checkPermission(Permission
the requested permission. perm)Overrides java. |
NoExitSecurityManager | back to summary |
---|---|
public NoExitSecurityManager() |
checkExit | back to summary |
---|---|
public void checkExit(int status) Overrides java. Override SecurityManager#checkExit. This throws an ExitException(status) exception.
|
checkPermission | back to summary |
---|---|
public void checkPermission(Permission perm) Overrides java. Override SecurityManager#checkPermission. This does nothing.
|