File size: 449 Bytes
233f6d4 | 1 2 3 4 5 6 7 8 9 10 | Clazz.declarePackage ("JS");
Clazz.load (["JS.ScriptException"], "JS.ScriptInterruption", null, function () {
c$ = Clazz.declareType (JS, "ScriptInterruption", JS.ScriptException);
Clazz.makeConstructor (c$,
function (eval, why, millis) {
Clazz.superConstructor (this, JS.ScriptInterruption, [eval, why, "!", millis == -2147483648 || eval.vwr.autoExit]);
if (why.equals ("delay")) eval.delayScript (millis);
}, "JS.ScriptEval,~S,~N");
});
|