} catch (RaiseException e) {
// handle exits as simple script termination
if (e.getException() instanceof RubySystemExit) {
return ((RubySystemExit)e.getException()).status();
}
runtime.printError(e.getException());
throw new EvalFailedException(e.getMessage(), e);
} catch (StackOverflowError soe) {
throw runtime.newSystemStackError("stack level too deep", soe);
} catch (Throwable e) {
throw new EvalFailedException(e);