public class ExitCalled
extends java.lang.Error
try { ExitCalled.push(); run_stuff(); } finally { ExitCalled.pop(); }To exit, invoking finally-handlers, do:
ExitCalled.doExit(exitCode);
Constructor and Description |
---|
ExitCalled(int exitCode) |
Modifier and Type | Method and Description |
---|---|
static void |
doExit(int exitCode) |
int |
getExitCode() |
static int |
nesting() |
static int |
pop() |
static void |
push() |