Wiki

Case Status Kiln
Log In

Wiki

 
Improved Exception Hierarchy

Improved Exception Hierarchy

We added a new instance variable to Exception, called signaler. The idea is to abstract out the concept of the subject of the Exception since all Exceptions need that. Sometimes it is called receiver. We initialize signaler automatically when an exception is signaled (#signal) and set it to be equal to the #receiver since that will most of the time be right, unless it was already set by the caller.