SQL> declare 2 i number := 0; 3 begin 4 i := i + 1; 5 exception 6 when others then 7 raise_application_error (-20100, 'error#' || sqlcode || ' desc: ' || sq lerrm); 8 end; 9 / PL/SQL procedure successfully completed. SQL>