The string that was an argument to the constructor.
There are two constructors for Exception:
Exception()
and
Exception( String str )
The string supplied to the second form can later be extracted from the
object using its getMessage() method.
Usually a method should construct and throw an exception all in one statement:
if ( some problem )
throw new Exception("Informative Message" ) ;
Since Exception is not a final class, can it be extended?