equal
deleted
inserted
replaced
52 I.e. what used to be instances of Signal/QuerySignal is being |
52 I.e. what used to be instances of Signal/QuerySignal is being |
53 rewritten into subclasses of Exception/Error/Query and Warning. |
53 rewritten into subclasses of Exception/Error/Query and Warning. |
54 Although the functionality is basically unchanged, the new |
54 Although the functionality is basically unchanged, the new |
55 class based exceptions are easier to instantiate (no need for |
55 class based exceptions are easier to instantiate (no need for |
56 creation in a classes initialize method), easier to use (no real |
56 creation in a classes initialize method), easier to use (no real |
57 need for SIgnal-constant accessors) and allow for easier parameter |
57 need for Signal-constant accessors) and allow for easier parameter |
58 passing (not only a single parameter, but allows for individual |
58 passing (not only a single parameter, but allows for individual |
59 exception subclasses to add additional state). |
59 exception subclasses to add additional state). |
60 |
60 |
61 GenericException and its subclasses implement the same protocol as Signal. |
61 GenericException and its subclasses implement the same protocol as Signal. |
62 So class based exceptions may be implemented as subclasses of GenericException. |
62 So class based exceptions may be implemented as subclasses of GenericException. |