Custom security manager to System.exit (and related) from being used.
Constructor and description |
---|
NoExitSecurityManager
(SecurityManager parent) |
NoExitSecurityManager
() |
Type | Name and description |
---|---|
void |
checkExit(int code) Always throws SecurityException. |
void |
checkPermission(Permission perm) |
Methods inherited from class | Name |
---|---|
class SecurityManager |
checkTopLevelWindow, checkMulticast, checkMulticast, checkSystemClipboardAccess, checkSecurityAccess, checkAwtEventQueueAccess, checkPackageDefinition, checkPrintJobAccess, getInCheck, getSecurityContext, checkAccept, checkListen, checkPackageAccess, checkMemberAccess, checkPermission, checkPermission, checkCreateClassLoader, checkPropertiesAccess, checkPropertyAccess, getThreadGroup, checkAccess, checkAccess, checkExit, checkLink, checkRead, checkRead, checkRead, checkWrite, checkWrite, checkDelete, checkExec, checkConnect, checkConnect, checkSetFactory, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Always throws SecurityException.
Copyright © 2003-2014 The Codehaus. All rights reserved.