aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes ApplicationException or SystemException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "ApplicationException or SystemException" Watch "ApplicationException or SystemException" New topic
Author

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: ApplicationException or SystemException
 
Similar Threads
Application Exception in MDB
question on EJB 3 IN ACTION - application exception rollback
Checked application exception
Application Exception
Enthuware com.enthuware.ets.scbcd.v5.2.145 (Test 2 Q40)