The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes ApplicationException or SystemException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "ApplicationException or SystemException" Watch "ApplicationException or SystemException" New topic

ApplicationException or SystemException

Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
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?

Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
It is an application exception, bu default, which has the rollback attribute set to false.
Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
Got it. Thanks Raf
I agree. Here's the link: http://aspose.com/file-tools
subject: ApplicationException or SystemException
Similar Threads
Application Exception in MDB
Checked application exception
Enthuware com.enthuware.ets.scbcd.v5.2.145 (Test 2 Q40)
question on EJB 3 IN ACTION - application exception rollback
Application Exception