Exceptions are signaled by sending one of the following methods to the appropriate instance of ExceptionalEvent:
The following examples signal a couple of types of exception:
| anEndOfFileException | (anEndOfFileException := ExAll newChild) description: 'end of file'. anEndOfFileException signal.
| aMessageNotUnderstoodException | (aMessageNotUnderstoodException := ExAll newChild) description: 'message not understood'. aMessageNotUnderstoodException signalWith: (DirectedMessage selector: #halt arguments: #() receiver: self)
When an exception is signaled, an instance of class Signal is created that contains information describing the circumstances where the exception occurred.