I'm using Jboss 3.0.0 and i have a problem with BMP. When an error occurs during the ejbStore() method of my entity bean (e.g. a database constraint is violated) I throw an EJBException on the server side.
On the Client side I expect to receive a javax.transaction.TransactionRolledbackException, but I receive a javax.transaction.RollbackException. Am I wrong or is this a bug in the jboss server?
The problem is that a RollbackException doesn't have a nested Exception, where I can see the original Exception.
Thanks for any help on this topic.
check with Dain, I think he rewrote the exception handling recently