|
|
6.64 ExceptionSet
- Defined in namespace Smalltalk
- Category: Language-Exceptions
My instances are not real exceptions: they can only be used as arguments to
#on:do:... methods in BlockClosure. They act as shortcuts that allows you to
use the same handler for many exceptions without having to write duplicate
code
6.64.1 ExceptionSet class: instance creation
- new
- Private - Answer a new, empty ExceptionSet
6.64.2 ExceptionSet: enumerating
- allExceptionsDo: aBlock
- Private - Evaluate aBlock for every exception in the receiver. Answer the receiver
- handles: exception
- Answer whether the receiver handles `exception'.
|