Hello Ranchers,
I am going through Enthuwares questions and I want to
test the given answers. There is a question on transaction-handling like following:
I created an example but
JBoss doesn't behave like mentioned above. The
A-Bean doesn't get an EJBException (it can't be caught) but
it gets an IllegalStateException.
Here is my code for the client-class:
The code for the ABean-class.
Here the IllegalStateException raises instead of the EJBExceptio:
And the code for the BBean-class:
Why does the IllegalStateException raise in the ABean-class instead of the EJBException?