Hi!
Stephan Gruschke wrote:
> Oh, yeap. The problem is that if an exception occurs in an bmp entity
> bean, an InvocationTargetException is thrown. The exception is an
> wrapper for the real exception thrown by the bean. What should be the
> preferred way: Wrap the returned bean exception in an create exception
> or return the real exception?
As it says in the EJB spec is the preferred way ;-) (i.e. go look it up)
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]