EXCEPTION WHEN
. declare … // Exceptions thrown in the declare section are NOT // handled in the exception handler below. begin do_stuff; // Exceptions thrown in the exceutable section ARE // handled in the exception handler below.:w EXCEPTION WHEN … /* The exception handler goes here. */ end; /
dbms_utility.format_error_backtrace
to find the source code line that caused the exception.