Examples of Exception Hierarchy
As Examples of hierarchy:
catch(FileNotFoundException e) { .. } would catch particular exception whereas
catch(IOException e) { .. } would catch all IOexceptions
Throwable
. . .
Error
Exception
RuntimeException
IOException
EOFException
FileNotFoundException
InterruptedIOException
Previous slide
Next slide
Back to first slide
View graphic version