blob: 47fe592553016e2f621af001d9f1199956de0990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--
-- $Id$
--
with Ada.Text_IO; use Ada.Text_IO;
procedure ExceptionTest is
begin
begin
Put_Line ("Raising Constraint_Error");
raise Constraint_Error;
exception
when others =>
Put_Line ("Caught Constraint_Error -- inner");
end;
exception
when others =>
Put_Line ("Caught Constraint_Error -- outer -- not OK");
end ExceptionTest;
|