CS202 5- ‹#›
Exceptions w/ Classes
nException handling can enhance the behavior of a user defined data type (such as adynamic array) by performing error checking.
nErrors can occur when new allocates memory or when an index into the array is out of bounds.
nErrors can be handled in two ways, either by displaying an error message and continuing processing or by throwing an exception.