Serializable
public class NGExitException extends SecurityException
Constructor | Description |
---|---|
NGExitException(int status) |
Constructs an exit exception.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getStatus() |
The status code returned by System.exit()
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
public NGExitException(int status)
status
- the status code returned via System.exit()public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
public void reallyPrintStackTrace(PrintStream out)
public int getStatus()
Copyright © 2019. All rights reserved.