Anonymous user
Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Exceptions/Catch an exception thrown in a nested call (view source)
Revision as of 15:48, 22 March 2009
, 15 years ago→{{header|Ada}}: Explanation of unhandled exceptions added
(→{{header|Ada}}: U1 left unhandled) |
(→{{header|Ada}}: Explanation of unhandled exceptions added) |
||
Line 46:
raised EXCEPTIONS_FROM_NESTED_CALLS.U1 : exceptions_from_nested_calls.adb:13
</pre>
An unhandled exception leads to termination of the corresponding [[task]]. When the task is the main task of the program as in the example, the whole program is terminated. In the example the exception back tracing message is compiler-specific (in this case it is [[GNAT]] and further depends on the compiler options.
=={{header|D}}==
|