Example 10-3. Example:
exception |
except_expression ==>
exception |
exception expressions may only appear within the statements of the then and else clauses in protect statements. They return the exception object that caused the when branch to be taken in the most tightly enclosing protect statement. The return type is the type specified in the corresponding when clause (See protect statements). In an else clause the return type is '$OB'.