[ 
https://issues.apache.org/jira/browse/WICKET-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897938#action_12897938
 ] 

Johan Compagner commented on WICKET-2979:
-----------------------------------------

problem is that with things like out of mem or really "dead" end things
even a page error could be a problem again.
And besides that catching Throwable is horrible because you cant really rethrow 
it
catch(Error error) throw error is possible and i definitely want to rethrow 
those kinds of things, so they are only there for logging then. not for 
displaying a error page, if we would to catch error.

> Handle Throwable instead of RuntimeException in RequestCycle.step()
> -------------------------------------------------------------------
>
>                 Key: WICKET-2979
>                 URL: https://issues.apache.org/jira/browse/WICKET-2979
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: Florian Wunderlich
>            Assignee: Martin Grigorov
>
> RequestCycle.java:1346 catches only RuntimeException, thus AssertionError and 
> similar are not caught. In case of an AJAX request, the container will 
> respond with an error page which the user will never see.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to