Do not wrap specific RuntimeException under TransactionRollbackException

A

Amit Jain

Hi,

I am not having much experience in EJB, so thought of to discuss it on
forum.

In our project we are using EJB 2.0 version.

We have a requirement in our project where we don't want to wrap (our
own Exception class which extends the RuntimeException)
RuntimeException under the TransactionRollbackException (which is
known as container behaviour). I am not sure if it can be achieved or
not.

java.lang.RuntimeException
|
+------com.mycomp.component.StorageEngineUnavailableException

Could you please portray you opinion/suggestion for the same.


regards, Amit J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top