[jboss-jira] [JBoss JIRA] Updated: (JBAS-9221) Undeclared checked exception is thrown from EJB invocation

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Apr 4 07:20:33 EDT 2011


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

Carlo de Wolf updated JBAS-9221:
--------------------------------

    Priority: Critical  (was: Major)


> Undeclared checked exception is thrown from EJB invocation
> ----------------------------------------------------------
>
>                 Key: JBAS-9221
>                 URL: https://issues.jboss.org/browse/JBAS-9221
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EE, EJB
>    Affects Versions: 7.0.0.Beta2
>            Reporter: Carlo de Wolf
>            Priority: Critical
>             Fix For: 7.0.0.CR1
>
>
> If an interceptor throws an exception that is not declared by the method the calling code will still get that undeclared checked exception. This should not happen. The most logical solution would be to throw an UndeclaredThrowableException instead.
> See https://github.com/wolfc/jboss-as/commits/JBAS-9221 for test.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list