Folder exceptions2 contains the following java classes:

Processor.java

   Trivial example of an object that processes
   values if they are in the range 1 through 10,
   while throwing exceptions if values are out
   of range.

ProcessorException.java

   The base exception class for Processor

LowProcessorException.java

   Extends ProcessorException, thrown when
   the value is too low.

HighProcessorException.java

   Extends ProcessorException, thrown when
   the value is too high.

test1.java

   Simple example: catches Processor exceptions
   without differentiating between different
   kinds of exceptions.
   
test2.java

   More sophisticated example: catches Processor
   exceptions, and can distinguish between
   the different kinds of Processor exceptions.

   This lets it give a different warning message
   in the two cases: (1) value is too low, and
   (2) value is too high.

