org.apache.tools.ant.util.optional
Class NoExitSecurityManager
SecurityManager
org.apache.tools.ant.util.optional.NoExitSecurityManager
public class NoExitSecurityManager
extends SecurityManager
This is intended as a replacement for the default system manager.
The goal is to intercept System.exit calls and make it throw an
exception instead so that a System.exit in a task does not
fully terminate Ant.
ExitException
checkExit
public void checkExit(int status)
checkPermission
public void checkPermission(Permission perm)
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.