Retrying an Exception in its defaultAction?
Ned Konz
ned at bike-nomad.com
Wed Nov 27 03:18:34 UTC 2002
This is probably a stupid question, but...
I'd like to have the defaultAction for an Exception subclass retry the
block in some cases (while resuming or returning in others).
I know I can resume or return (and maybe call pass, outer, or
resignalAs:) from defaultAction.
However, my attempts to retry from that context have failed, since the
handler context seems to be missing at that point. (this may be an
artifact of the way I'm debugging).
Could someone who's more familiar than I with the exception handling
scheme suggest some way to do this, or tell me definitely that it
isn't possible?
PS: I suspect this isn't good design, but I'm trying to work with
existing code with as few changes as possible.
Thanks,
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|