Q: Triggers and raise_application_error
From: Tony Farrow <tony_at_isotro.com>
Date: 1996/10/07
Message-ID: <32590D37.3EEC_at_isotro.com>#1/1
Date: 1996/10/07
Message-ID: <32590D37.3EEC_at_isotro.com>#1/1
I am trying to remove any additional errors that are being produced when I run the exception handling.
...
if (condition) then
raise my_error;
end if;
exception
when my_error then
raise_application(-20001, ' My Error.');
and this seems to work EXCEPT I get the following additional errors when I insert into the table.
ORA-20001: My Error. << This is EXCELLENT ORA-06512: at line 18 << I DO NOT WANT to see thisORA-04088: error during execution of trigger 'tablename.trigger'
Is there any way to handle the remaining two errors within my exception routine?
regards
tony
tony_at_isotro.com
Received on Mon Oct 07 1996 - 00:00:00 CEST