Exception-Handling Mechanism for Expression-Oriented Programming Languages
Original Publication Date: 1984-Mar-01
Included in the Prior Art Database: 2005-Feb-02
The object bound to an exception identifier need not be a subroutine but may be a subroutine, an expression, a label, a boolean or an identifier object. The action taken depends on the object. If the object bound to an exception identifier is an identifier, the action taken when the specified exception is raised is to raise the exception whose name is the second identifier. In this way, exceptions can be organized into hierarchical classes using the ordinary binding mechanism. Background. Most programming languages provide some mechanism for specifying what action is to be taken when an error is detected during program execution. When an error is detected, we say that an exception is raised. The action taken by a program when an exception is raised is determined by the exception handler defined for that particular exception.