
-- PERFORMANCE MEASUREMENT : measure exception raise and handle time
--                           when the exception is raised 3 procedures deep

package Except_Pack_3 is

    My_Exception : exception;
    Switch : Boolean; -- controls return or raise exception

    procedure Proc_1 (Switch : Boolean); -- either returns or raises exception

    procedure Proc_2 (Switch : Boolean); -- calls PROC_1

    procedure Proc_3 (Switch : Boolean); -- calls PROC_2


end Except_Pack_3;