Fix for bug 290034: JavaScriptException should not be wrapped inside

Context.throwAsScriptRuntimeEx
This commit is contained in:
igor%mir2.org 2005-06-26 21:32:42 +00:00
parent 1b2bb3cac1
commit 05ee41a100

View File

@ -1687,11 +1687,8 @@ public class Context
if (e instanceof Error) {
throw (Error)e;
}
if (e instanceof EvaluatorException) {
throw (EvaluatorException)e;
}
if (e instanceof EcmaError) {
throw (EcmaError)e;
if (e instanceof RhinoException) {
throw (RhinoException)e;
}
throw new WrappedException(e);
}