[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.13.8.1 Exception Terminology
There are several variations on the terminology for dealing with non-local jumps. It is useful to be aware of them, and to realize that they all refer to the same basic mechanism.
- Actually making a non-local jump may be called raising an exception, raising a signal, throwing an exception or doing a long jump. When the jump indicates an error condition, people may talk about signalling, raising or throwing an error.
- Handling the jump at its target may be referred to as catching or handling the exception, signal or, where an error condition is involved, error.
Where signal and signalling are used, special care is needed to avoid the risk of confusion with POSIX signals.
This manual prefers to speak of throwing and catching exceptions, since this terminology matches the corresponding Guile primitives.
The exception mechanism described in this section has connections with
delimited continuations (see section Prompts). In particular,
throwing an exception is akin to invoking an escape continuation
(see section call/ec
).
This document was generated on April 20, 2013 using texi2html 5.0.