Groovy 2.2.1

org.codehaus.groovy.tools.shell.util
[Groovy] Class NoExitSecurityManager

java.lang.Object
  java.lang.SecurityManager
      org.codehaus.groovy.tools.shell.util.NoExitSecurityManager

class NoExitSecurityManager
extends SecurityManager

Custom security manager to System.exit (and related) from being used.

Version:
\$Rev\$ \$Date\$


Constructor Summary
NoExitSecurityManager(SecurityManager parent)

NoExitSecurityManager()

 
Method Summary
void checkExit(int code)

Always throws SecurityException.

void checkPermission(Permission perm)

 
Methods inherited from class SecurityManager
checkTopLevelWindow, checkMulticast, checkMulticast, getInCheck, checkPackageDefinition, checkPrintJobAccess, checkSystemClipboardAccess, getSecurityContext, checkAwtEventQueueAccess, checkPackageAccess, checkMemberAccess, checkPermission, checkPermission, checkCreateClassLoader, checkPropertiesAccess, checkPropertyAccess, getThreadGroup, checkAccess, checkAccess, checkExit, checkLink, checkWrite, checkWrite, checkRead, checkRead, checkRead, checkDelete, checkExec, checkConnect, checkConnect, checkSetFactory, checkSecurityAccess, checkAccept, checkListen, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

NoExitSecurityManager

NoExitSecurityManager(SecurityManager parent)


NoExitSecurityManager

NoExitSecurityManager()


 
Method Detail

checkExit

void checkExit(int code)
Always throws SecurityException.


checkPermission

void checkPermission(Permission perm)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.