Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ask Exception?????Urgent  RSS feed

 
Duong Nguyen Huy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1/ NoSuchEntityException is system exception or Application Exception?
2/ NamingException is system exception or Application Exception?
Please answer ASAP as my exam will be tomorrow
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1/ NoSuchEntityException is system exception or Application Exception?
system exception
2/ NamingException is system exception or Application Exception?
application exception
 
Janne Karhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's very easy to distinguish whether the exception is an application or a system exception; all exceptions inherited from RuntimeException are system exceptions. All the other exceptions (EXCEPT java.rmi.RemoteException) are application exception.
J2EE 1.3 api (javadocs) is very helpful..
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!