public class NoExitSecurityManager
extends java.lang.SecurityManager
System.exit(int) (and related) from being used.| Constructor | Description |
|---|---|
NoExitSecurityManager() |
|
NoExitSecurityManager(java.lang.SecurityManager parent) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkExit(int code) |
Always throws
SecurityException. |
void |
checkPermission(java.security.Permission perm) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader