aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes TrasactionRolledbackException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "TrasactionRolledbackException" Watch "TrasactionRolledbackException" New topic
Author

TrasactionRolledbackException

sonali rao
Ranch Hand

Joined: Nov 03, 2003
Posts: 64
Which one of the following statements regarding the client view of exceptions received from an enterprise bean invocation is correct?


The correct answer is:
1. The client can safely continue the transaction by retrying the operation if an application exception is received.
2. The client can safely continue the transaction by retrying the operation if an application exception is received, but only after checking the transaction has not been marked for rollback.
3. The client can safely continue the transaction by retrying the operation if a non-application exception is received.
4. A local client cannot continue a transaction if javax.transaction.TransactionRolledbackLocalException is received.
5. A remote client cannot continue a transaction if javax.transaction.TransactionRolledbackException is received.
Ans given: 5
Why is not option 4 a correct answer?
Anthony Watson
Ranch Hand

Joined: Sep 25, 2003
Posts: 327
There's no such thing as the class in # 4. The real class is:
javax.ejb.TransactionRolledbackLocalException


Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: TrasactionRolledbackException