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 | RuntimeException |
9 | IOException |
10 | EOFException |
11 | FileNotFoundException |
12 | InterruptedIOException |