Exceptions: Difference between revisions

Content deleted Content added
mNo edit summary
Line 2,657: Line 2,657:
invalid "this statement will fail"
invalid "this statement will fail"
catch syntaxerror
catch syntaxerror
# console.err is optional here
out "caught an exception" endl console
out "caught an exception" endl console.err
end try</lang>
end try</lang>
Throwing exceptions:
Throwing exceptions: