com.martiansoftware.nailgun

Class NGExitException

public class NGExitException extends ExitException

Security exception which wraps an exit status code.

Author: Pete Kirkham

Constructor Summary
NGExitException(int status)
Method Summary
voidprintStackTrace(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.
voidreallyPrintStackTrace(PrintStream out)

Constructor Detail

NGExitException

public NGExitException(int status)

Method Detail

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.

reallyPrintStackTrace

public void reallyPrintStackTrace(PrintStream out)
© 2004, Martian Software, Inc.