Folder exceptions3 is very similar to
the examples in exceptions2, with the
change that methods and data have been
added to the ProcessorException class,
and its subclasses LowProcessorException
and HighProcessorException.

Specifically, Processor can now throw
exceptions using a ProcessorException
constructor saves the value into an
instance variable called "value" within
ProcessorException.

This allows the software which has just
caught the exception to call a method
getValue() to recover the value.  In
test2.java, that extra info is printed
within the catch statement.

In general you can add all sorts of
methods and data to your own custom
Exception classes.  One particularly
useful thing to do is to create an
informative message of some sort in
your Exception class, and then provide
a String valued method getMessage()
that can be used by the software that
catches your exception.

