This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
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://aspose.com/file-tools
 
subject: ApplicationException or SystemException
 
Similar Threads
Application Exception in MDB
Enthuware com.enthuware.ets.scbcd.v5.2.145 (Test 2 Q40)
Checked application exception
question on EJB 3 IN ACTION - application exception rollback
Application Exception