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,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top