Subject | SP Exception handling |
---|---|
Author | Si Carter |
Post date | 2012-01-23T13:23:54Z |
Hi,
Is it possible to get the error message if one is thrown within a
stored procedure? i.e
WHEN ANY DO
BEGIN
IF (ERRORMESSAGE CONTAINING 'some string') THEN
DO SOMETHING
ELSE
EXCEPTION; -- re-throw the exception
END
regards
Si
Is it possible to get the error message if one is thrown within a
stored procedure? i.e
WHEN ANY DO
BEGIN
IF (ERRORMESSAGE CONTAINING 'some string') THEN
DO SOMETHING
ELSE
EXCEPTION; -- re-throw the exception
END
regards
Si