I would say that outside of the try block all throws are caught if
at all by the wrapping try. So that throws propogate outward. Never
back within itself.
There is one case to be considered, what if the try block wishes
to avoid its own catch clauses, and start the unwinding with the
uplevel try block.
<chaim>
>>>>> "TO" == Tony Olekshy <[EMAIL PROTECTED]> writes:
TO> The cases shown above are straightforward. Now consider this case.
TO> try { } except { } => catch { }
TO> except { } => catch { }
TO> catch { }
TO> The potential problem is that if the first catch throws, then
TO> the second except will be testing against the $@ from the catch,
TO> not the $@ from the try. This can be avoided by using the
TO> following synatx from the proposed omnibus Exceptions RFC:
TO> try { }
TO> except { $@->any(... $_[0] ...) } => catch { }
TO> except { $@->any(... $_[0] ...) } => catch { }
TO> catch { }
TO> Is this a problem?
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183