Tivoli Connection Guide and Reference


Defining a TivExceptionalEvent

The TivSampleExceptionsCheckingAccount class methods define two exceptions that are represented as class variables. One of the exceptions, TivExCheckingAccountOverdrawn, is defined as

anExceptionalEvent := TivExceptionalEventRoot root newChild.
anExceptionalEvent description: 'Checking Account Overdrawn'.
anExceptionalEvent resumable: false.
anExceptionalEvent defaultHandler:
 [: sig | System errorMessage sig description.
 sig exitWith: 'done']
self TivExCheckingAccountOverdrawn: anExceptionalEvent.


[ Top of Page | Previous Page | Next Page | Table of Contents ]