10
Polymorphic References To Exceptions
•When handling exceptions, you can use a polymorphic reference (see page 730) as a parameter in the catch clause but do not do so in this course.
–This means that although you can catch any exception that is derived from the Exception class  with catch(Exception e) you should not.
•The exceptions that you must handle are the checked exceptions . They are derived from the Exception class.
•There are unchecked exceptions derived from RuntimeException which can be ignored but you should not ignore them in this course.
Show it by altering BadArray.java
Can use Exception e  only to determine what the actual exception was.