Hi!
Stephan Gruschke wrote:
> R�> IMHO the BMP-PM should unwrap the target exception. This is done by
> R�> other anyway.
> What should the BMP-PM do with the unwrapped exception?
Simply throw it.
> I would
> suggest to write the exception to standard out
No, this is done by the LogInterceptor.
> and wrap it into
> an RemoteException.
No, application exceptions should be thrown as-is. RuntimeExceptions
should be wrapped through (in a ServerException I think).
> Is that ok? Otherwise we would have to modify the
> method signature which is not an option.
This is only for create, right? I think we have no other option but to
change the signature of the PM interface to allow application
exceptions.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com