Forums Register Login

ApplicationException or SystemException

+Pie Number of slices to send: Send
 

Maikalai Zaikin wrote:A system exception is an exception that is a java.rmi.RemoteException (or one of its subclasses) or a RuntimeException that is not an application exception.



If class A is a sub class of Exception, but not a subclass of either RuntimeException or RemoteException. And class A doesn't annotated with @ApplicationException. In this case, please tell me whether class A is an application or system exception?

+Pie Number of slices to send: Send
It is an application exception, bu default, which has the rollback attribute set to false.
+Pie Number of slices to send: Send
Got it. Thanks Raf
Grow a forest with seedballs and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 904 times.
Similar Threads
Application Exception
question on EJB 3 IN ACTION - application exception rollback
Application Exception in MDB
Enthuware com.enthuware.ets.scbcd.v5.2.145 (Test 2 Q40)
Checked application exception
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:57:22.