Why is an EJBException wrapped with a ServerException in LogInterceptor?

A ServerException is a declared remote exception and will not pass 
through a local interface and specifically will not pass out of an CMP 
2.0 abstract accessor.

Only if an EJBException is leaving the server over a remote interface 
should an EJBException be converted into a RemoteException (even then 
I'm not sure it should be converted).

I think the same goes for RuntimeExceptions, but I would have to check 
the spec on that.

I am willing to make this change to LogInterceptor, but I don't know 
where to change the protocol code (which should convert the exception).

-dain


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to