public static void exit(int exitCode) { BTraceRuntime rt = getCurrent(); Throwable th =rt. currentException.get(); if (!(th instanceof ExitException)) { rt.currentException.set(null); } throw new ExitException(exitCode); }
try { if (th instanceof ExitException) { exitImpl(((ExitException) th).exitCode()); } else { if (exceptionHandler != null) {
try { if (th instanceof ExitException) { exitImpl(((ExitException) th).exitCode()); } else { if (exceptionHandler != null) {
public static void exit(int exitCode) { BTraceRuntime rt = getCurrent(); Throwable th =rt. currentException.get(); if (!(th instanceof ExitException)) { rt.currentException.set(null); } throw new ExitException(exitCode); }