Package: Kernel Exceptions
Class: Error
Introduction
Environment: container
This is the main class used to implement the exception handling system (EHS).
It plays two distinct roles:
that of the exception,
and that of the exception handler.
You can signal an error with a message as the following:
And catch and handle an error like this:
Class Method
Category: instance creation
signal
- Ask ContextHandlers in the sender chain to handle this signal.signal:
- Ask ContextHandlers in the sender chain to handle this signal with a specified textual description.
Last updated