I'm missing the problem. The throw for whatever reason from c2 should
end up in c1. No?
try { # t1
try { # t2
# something thrown
}
catch { # c2
# something unexpected thown
}
}
catch { # c1
# should end up here from c2
}
What am I missing.
<chaim>
>>>>> "PS" == Peter Scott <[EMAIL PROTECTED]> writes:
PS> At 08:13 AM 8/14/00 -0700, Evan Howarth wrote:
>> Tony Olekshy wrote:
>> > Just be sure to arrange to handle exceptions while handling
>> > exceptions.
>>
>> Are you saying that the try-catch proposal automatically
>> handles exceptions thrown in catch and finally blocks?
PS> Well this is debatable, but IMHO an exception thrown in either of those
PS> blocks should go up to the enclosing try block, if any. If it's not in a
PS> try block it causes program death. If anyone suggests that
PS> try { .... }
PS> catch Exception::Foo, Exception::Bar { ... }
PS> catch { exception thrown here causes it to start going through catch
PS> blocks again }
PS> then I'm afraid I'm going to have to turn to drink.
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183