Exceptions/Catch an exception thrown in a nested call: Difference between revisions

Content added Content deleted
(→‎{{header|Perl}}: Add note on catching both exceptions.)
(→‎{{header|Tcl}}: Add note: Both exceptions are caught and one is re-raised rather than only one being caught.)
Line 1,630: Line 1,630:


=={{header|Tcl}}==
=={{header|Tcl}}==
Note: Both exceptions are caught and one is re-raised rather than only one being caught.

{{works with|Tcl|8.5}}
{{works with|Tcl|8.5}}
<lang tcl>package require Tcl 8.5
<lang tcl>package require Tcl 8.5