Jump to content

Exceptions: Difference between revisions

m
no edit summary
mNo edit summary
Line 2,651:
[OUT]we have a primate Mike of kind monkey
</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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.