Basic HTML version of Foils prepared Sept 6 1998

Foil 48 Examples of Exception Hierarchy

From Java Tutorial 98-2: Java Language and Object Oriented Techniques CPS606 Fall Semester 1999 -- Sept 7 1999. by Geoffrey C. Fox, Nancy McCracken


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

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Sep 6 1999