[seam-issues] [JBoss JIRA] Updated: (SEAMFACES-87) CatchIntegrationHandler loses track of an exception when the catch method rethrow the exception

José Freitas (JIRA) jira-events at lists.jboss.org
Tue Feb 22 14:55:15 EST 2011


     [ 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



More information about the seam-issues mailing list