• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A system exception must be an unchecked exception?

 
vijay Mamilla
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A system exception must be an unchecked exception?
 
Ana Nava
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it is a tricky option in an exam question. In EJB the system exception are not just "unchecked exception", but includes "RemoteException and its subclasses" (which are checked exception) as well.

If there was a question like "What is true about Exceptions in EJB" and there were following options like

a. application exceptions must be checked exceptions
b. system exceptions are unchecked exceptions.

I would select a and not b, because, system exceptions includes "RemoteException" as well.
 
vijay Mamilla
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ana
[ May 31, 2005: Message edited by: vj reddy ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic