RosettaCodeData/Task/Exceptions/Oz/exceptions-3.oz

12 lines
177 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
try
{Foo}
catch sillyError then
{Bar}
[] slightlyLessSilly(data:D ...) then
{Quux D}
[] _ then %% an unknown type of exception was thrown
{Baz}
finally
{Fin}
end