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


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



© 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