Back: Exception-exception signaling
Up: Class reference
Forward: ExceptionSet class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

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  (class)
6.64.2 ExceptionSet: enumerating  (instance)


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'.




This document was generated on May, 12 2002 using texi2html