• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception Heirarchy

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
In SCJP exam is the class heirarchy for Exception given or we are suppose to know the complete Exception class Heirarchy?
Asha
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
U are supposed to know the basic Heirarchy of the Exception like Throwable is the parent class for all the Exceptions and Errors, about runtime and checked exceptions, etc. May be others can throw some light about how much of this heirarchy is to be known.
regds
Ajay
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Asha,
From what I have seen in the (numerous) mock exams, you need not memorize the exception hierarchy. However, you need to be conversant with -

    * Rules governing overriding when the method being overridden throws exceptions.
    * Exceptions thrown by various methods commonly used ( I/OExceptions, NumericFormatEx, ArrayIndex.. etc )
    * Everything about try-catch-finally
    * difference between RuntimeException and other subclasses of the Exception class
    * handling exceptions( try-catch block , or using throws clause )

    Perhaps people who have already taken the exam can add to this list if I have missed out anything.
    Hope this helps,
    Ajith
 
reply
    Bookmark Topic Watch Topic
  • New Topic