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

Jason Porter (JIRA) jira-events at lists.jboss.org
Tue Feb 22 13:08:14 EST 2011


     [ https://issues.jboss.org/browse/SEAMFACES-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Porter updated SEAMFACES-87:
----------------------------------

    Description: 
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.

  was:
When rethrowing an exception from a catch handled method like this:

public void printExceptionMessage(@Handles CaughtException<Throwable> event) {
		log.info("Something bad happened: " + event.getException().getMessage());
		event.rethrow(); //LIKE THIS
	}

CatchIntegrationHandler loses track of an exception. so there's no JSF Error page but a page 500 with the stacktrace page.



> 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