Signal>>signalingContext
By Nicolas Petton - Posted on July 2nd, 2009
| Project: | GNU Smalltalk |
| Component: | Base classes |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | invalid |
Description
In some cases, signalingContext doesn't work:
[1 doSomething] on: Error do: [:err | error := err].
error signalingContext
nil error: did not understand #isInternalExceptionHandlingContext
Updates
#1 submitted by Paolo Bonzini on Sat, 07/11/2009 - 11:12
| Status: | active | » invalid |
This is by design, though documenting it would be a good idea. Once you left the handler, the signalingContext is not available anymore (and many other things of the exception). I'll make it return nil instead of an error, though.
