[
https://issues.jboss.org/browse/SEAMFACES-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Freitas updated SEAMFACES-87:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/seam/faces/pull/12
I wrote a try/catch block to handle event.rethrow inside the catch handled
method.
> CatchIntegrationHandler loses track of an exception when the catch method
> rethrow the exception
> -----------------------------------------------------------------------------------------------
>
> Key: SEAMFACES-87
> URL: https://issues.jboss.org/browse/SEAMFACES-87
> Project: Seam Faces
> Issue Type: Bug
> Affects Versions: 3.0.0.Beta3
> Reporter: José Freitas
> Priority: Minor
>
> When rethrowing an exception from a catch handled method like this:
> {code:java}
> public void printExceptionMessage(@Handles CaughtException<Throwable> event) {
> log.info("Something bad happened: " +
> event.getException().getMessage());
> event.rethrow(); //LIKE THIS
> }
> {code}
> CatchIntegrationHandler loses track of an exception. so there's no JSF Error
> page but a page 500 with the stacktrace page.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues