About Question enthuware.oce-ejbd.v6.2.473 :
Posted: Fri Aug 05, 2011 12:10 pm
Howdy!
I've got a question to this explanation:
I can't use @ApplicationException on checked-exceptions?
Cheers!
I've got a question to this explanation:
I don't remember such restriction. Do you mean I cannot say that my non-runtime Application Exception should i.e. rollback the transaction?An application exception, unless having rollback attribute of @ApplicationException set to true, does not cause the container to rollback the transaction. Further, a non-runtime application exception cannot set this attribute because it does not use @ApplicationException annotation. This annotation is used only by subclasses of RuntimeException.
I can't use @ApplicationException on checked-exceptions?
Cheers!