public class NoExitSecurityManager
extends java.lang.SecurityManager
System.exit(int)
(and related) from being used.Constructor and Description |
---|
NoExitSecurityManager() |
NoExitSecurityManager(java.lang.SecurityManager parent) |
Modifier and Type | Method and Description |
---|---|
void |
checkExit(int code)
Always throws
SecurityException . |
void |
checkPermission(java.security.Permission perm) |
checkAccept, 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