[bug] Signal>>signalingContext

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] Signal>>signalingContext

Nicolas Petton
Issue status update for
http://smalltalk.gnu.org/node/334
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/334

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  nico
 Updated by:   nico
 Status:       active

In some cases, signalingContext doesn't work:

[1 doSomething] on: Error do: [:err | error := err].
error signalingContext

nil error: did not understand #isInternalExceptionHandlingContext




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Signal>>signalingContext

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/334
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/334

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  nico
 Updated by:   bonzinip
-Status:       active
+Status:       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.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk