From abf807e0ad71dd6eeebac9e02ffca74f3920f08b Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 6 Feb 2006 11:05:23 +0000 Subject: [PATCH] * No need to rethrow RedirectException from onRequest(): This was introduced in revision 1.65 to fix bug 65, but obsoleted in revision 1.99 when the other catch statement was removed. --- src/helma/framework/core/RequestEvaluator.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index e7a587e5..3361e1bf 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -342,15 +342,11 @@ public final class RequestEvaluator implements Runnable { // try calling onRequest() function on object before // calling the actual action - try { - scriptingEngine.invoke(currentElement, - "onRequest", - EMPTY_ARGS, - ScriptingEngine.ARGS_WRAP_DEFAULT, - false); - } catch (RedirectException redir) { - throw redir; - } + scriptingEngine.invoke(currentElement, + "onRequest", + EMPTY_ARGS, + ScriptingEngine.ARGS_WRAP_DEFAULT, + false); // reset skin recursion detection counter skinDepth = 0;