next up previous contents
Next: Concurrency Up: Exceptions Previous: Types   Contents

Protocol

signal
Raises the exception that is the argument. This will immediately query for exception handlers in the current context, performing dynamic automatic recovery if possible, or starting the debugger if not.
on:do:
Executes the block of code with a dynamically bound handler block for the given type of condition.
ensure:
This is a block method that ensures that the second block is executed either after the first or in any case if the original is aborted or control is otherwise handed elsewhere in the middle of execution without possibility of returning into that same execution.
handlingCases:
Executes the block of code with a set of dynamically bound handler blocks, give as an Array of Associations between Condition objects and the handlers.
return/return:
Returns from the condition, or returns from it with a value, to the point where the condition was signalled.
exit/exit:
Aborts from the condition, or aborts from it with a value, to the point where the handler was set up.
defaultHandler
This is the condition method that is called if no other handlers are found for the context.


next up previous contents
Next: Concurrency Up: Exceptions Previous: Types   Contents
Brian Rice 2004-08-24