error handling priority
Posted: Fri Oct 07, 2005 8:53 am
What is the priority of "error-event" and "catch"?
How can I implement an analog for such pseudocode?:
Working so that if body rises error or user throws something, "finish-sequence" is evaluated either, but upper function calling this block will still think that user throw or system error is raised in a "body".
Imitating this with (if (not (catch ...)) ... (throw ...)) will affect error-code, I think. And I also want to distinguish between errors and regular throws...
Really, I can live successful without that now. Just a question about programming... :-)
How can I implement an analog for such pseudocode?:
Code: Select all
(try body finish-sequence)
Imitating this with (if (not (catch ...)) ... (throw ...)) will affect error-code, I think. And I also want to distinguish between errors and regular throws...
Really, I can live successful without that now. Just a question about programming... :-)