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.