illustrates creating and throwing an exception object