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

Florian Wunderlich commented on WICKET-2979:
--------------------------------------------

Give reasons. No blanket statements.

What do you want to accomplish with catching RuntimeException?

If it is generic error handling and reporting, Throwable must be caught. See 
sun.awt.exception.handler for example.

> 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
>
> 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