Topic: exception handling by recovery block or rescue clause
Topic: exception handling by try..catch
Topic: exceptions from invalid input
| |
Summary
Exception handling can be attached to the definition of procedures and data objects. It supersedes the object's definition when the object fails. With procedures, this provides default exception handling for all invocations of the procedure. With data objects, it provides responses to range failure and other data inconsistencies. (cbb 5/80)
Subtopic: exceptions for complete definition
Quote: a database schema needs a consistent definition of all terms; does not exist, so use exceptions [»borgA10_1986]
| Quote: exception translation -- catch low-level exceptions and throw new exceptions in terms of the high-level abstraction [»blocJ_2001]
| Subtopic: failure atomic
Quote: failure atomic -- a failed method does not change the state; leave the object in a well-defined, usable state [»blocJ_2001]
| Subtopic: exceptions for modified types, variants
Quote: handle modified types by defining error handlers for each version; these handlers fixup an old version's behavior [»zdonSB10_1986]
| Quote: an exception handler defines interpreted extensions to handle variants and exceptional data [»borgA10_1986]
| Quote: handle exceptional subclasses and instances by exception handling triggered by the exceptional data [»borgA10_1986]
| Subtopic: exception returns
Quote: a CLU procedure can either return or signal an exceptional condition; both can provide result objects
| Subtopic: early object-oriented exceptions
QuoteRef: goodJB12_1975 ;;685 object-oriented exception handlers eg AED allows exception handler as part of object-definition
| QuoteRef: goodJB12_1975 ;;686 explicit declaration of exceptions possible from a procedure eg returns (fixed) [exceptional: ...]
| QuoteRef: reynCF3_1971 ;;218 handling exceptions-- linked data list with each section containing exceptional handling
|
Related Topics
Topic: exception handling by recovery block or rescue clause (22 items)
Topic: exception handling by try..catch (53 items)
Topic: exceptions from invalid input (4 items)
|