RosettaCodeData/Task/Exceptions/Ada/exceptions-4.ada
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

9 lines
172 B
Ada

procedure Call_Foo is
begin
Foo;
exception
when Foo_Error =>
... -- do something
when others =>
... -- this catches all other exceptions
end Call_Foo;