[
https://issues.jboss.org/browse/JBAS-9221?page=com.atlassian.jira.plugin....
]
Carlo de Wolf updated JBAS-9221:
--------------------------------
Description:
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.
was: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.
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
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