Basic HTML version of Foils prepared Sept 21 1998

Foil 48 Examples of Exception Hierarchy

From Java Tutorial 98- 2: Java Language and Object Oriented Techniques NAVO Tutorial -- Sept 23 1998. 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 Runtime Exception
9 IOException
10 Runtime Exception
11 Runtime Exception
12 Runtime Exception

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 Sat Nov 28 1998