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

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

why do you want to catch it there?
do you want to have it  in protected void logRuntimeException(RuntimeException 
e) of the Requestcycle?

(that will not work anyway with that signature ofcourse)

Problem with Errors is that some errors are not really errors so i agree 
sometimes that catching error or throwable is also fine
For example why is it a ClassNotFoundException and a NoClassDefFoundError ? 
which is many times the same problem....

> 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