Good catch!  Went ahead and made that change.

-David

On Sep 25, 2008, at 11:54 AM, Jean-Louis MONTEIRO wrote:


Hi all,

I'm facing a problem with application exceptions handling in OpenEJB (trunk
version).
Just for information, it worked on previous version (3.0).

It's directly link with the point "14.2.1 Application Exception" from the
last EJB 3.0 specification.
The AnnotationDeployer (from the core module) does not include application
exception (with ApplicationException annotation).

I think the problem is more or less at line 429 because the test is always false (except when the application exception is declared in the ejb- jar.xml
file).
Should the test be ?
if (assemblyDescriptor.getApplicationException(exceptionClass) == null) {

Kind regards,
Jean-Louis






--
View this message in context: 
http://www.nabble.com/Application-exception-handling-problem-tp19673820p19673820.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.



Reply via email to