1 | As Examples of hierarchy: |
2 | catch(FileNotFoundException e) { .. } would catch particular exception whereas |
3 | catch(IOException e) { .. } would catch all IOexceptions |
4 | Throwable |
5 | . . . |
6 | Error |
7 | Exception |
8 | Runtime Exception |
9 | IOException |
10 | Runtime Exception |
11 | Runtime Exception |
12 | Runtime Exception |