home *** CD-ROM | disk | FTP | other *** search
- In this program, the declaration of the function Process()
- specifies that it can throw only a MathErr exception. Process()
- calls divide(). divide() throws a long exception because of an
- attempt to divide by zero. In other words, Process() throws a
- long exception indirectly. Because Process() does not include
- long in its exception specification, the system-defined handler
- unexpected() is invoked by the system.
-