Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ask Exception?????Urgent

 
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..
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!