A structured software exception-handling mechanism and method provides an
improved paradigm for managing program flow control after error detection
without requiring compiler modifications. Selected code is wrapped in one
or more exception handling constructs which can be nested. Exceptions are
raised and handled in accordance with specified handlers or by a default
handler outside the scope of specified exception code wrappers.