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 11:21, 20 September 2023
, 8 months ago→{{header|Elena}}
imported>Arakov |
|||
Line 1,027:
=={{header|Elena}}==
ELENA
<syntaxhighlight lang="elena">import extensions;
class U0 : Exception
{
}
class U1 : Exception
{
}
singleton Exceptions
{
}
}
Line 1,084:
<pre>
U0 Caught
U1 exception
Call stack:
sandbox'program.function:#invoke:sandbox.l(52)
▲mytest'Exceptions.baz[0]:test.l(21)
system'$private'entry.function:#invoke:app.l(5)
system'$private'entrySymbol#sym:app.l(23)
▲mytest'Exceptions.foo[0]:test.l(30)
Aborted:ffffffff
</pre>
|