com.martiansoftware.nailgun
Class NGExitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
org.apache.tools.ant.ExitException
com.martiansoftware.nailgun.NGExitException
- All Implemented Interfaces:
- Serializable
public class NGExitException
- extends org.apache.tools.ant.ExitException
Security exception which wraps an exit status code.
- Author:
- Pete Kirkham
- See Also:
- Serialized Form
Method Summary |
void |
printStackTrace(PrintStream out)
A lot of code out there, for example ant's Launcher,
runs inside a try/catch (Throwable) which will squash
this exception; most also calll printStackTrace(), so
this re-throws the exception to escape the handling code. |
void |
reallyPrintStackTrace(PrintStream out)
|
Methods inherited from class org.apache.tools.ant.ExitException |
getStatus |
NGExitException
public NGExitException(int status)
printStackTrace
public void printStackTrace(PrintStream out)
- A lot of code out there, for example ant's Launcher,
runs inside a try/catch (Throwable) which will squash
this exception; most also calll printStackTrace(), so
this re-throws the exception to escape the handling code.
- Overrides:
printStackTrace
in class Throwable
reallyPrintStackTrace
public void reallyPrintStackTrace(PrintStream out)
© 2004, Martian Software, Inc.