|
|
6.167 TrappableEvent
- Defined in namespace Smalltalk
- Category: Language-Exceptions
I am an abstract class for arguments passed to #on:do:... methods in
BlockClosure. I define a bunch of methods that apply to CoreExceptions
and ExceptionSets: they allow you to create ExceptionSets
and examine all the exceptions to be trapped.
6.167.1 TrappableEvent: enumerating
- allExceptionsDo: aBlock
- Execute aBlock, passing it an Exception for every exception in the receiver.
- handles: exception
- Answer whether the receiver handles `exception'.
6.167.2 TrappableEvent: instance creation
- , aTrappableEvent
- Answer an ExceptionSet containing all the exceptions in the receiver and all the exceptions in aTrappableEvent
|