RosettaCodeData/Task/Exceptions/Zkl/exceptions-1.zkl
2017-09-25 22:28:19 +02:00

4 lines
143 B
Text

try{ throw(Exception.BadDay) }
catch { println(__exception," was thrown") }
fallthrough { println("No exception was thrown") }
println("OK");