Exceptions: Difference between revisions

Content added Content deleted
mNo edit summary
Line 2,651: Line 2,651:
[OUT]we have a primate Mike of kind monkey
[OUT]we have a primate Mike of kind monkey
</pre>
</pre>

=={{header|Ursa}}==
Catching exceptions:
<lang ursa>try
invalid "this statement will fail"
catch syntaxerror
out "caught an exception" endl console
end try</lang>
Throwing exceptions:
<lang ursa>throw (new ursa.exceptions.exception)</lang>


=={{header|Ursala}}==
=={{header|Ursala}}==