Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Catch all PL/SQL exceptions in a page

295495Mar 12 2008 — edited Mar 17 2008

Hi!

I want to add a procedure which logs exception code, message and stack to some table.
Something like:

...
EXCEPTION
  WHEN OTHERS
  THEN
    exception_log_obj.log_current;
    RAISE;
END;

Where I have to put it to catch ALL exceptions raised in a page (SQL report, buttons with their PL/SQL processes etc.)?

Regards,
Al

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2008
Added on Mar 12 2008
5 comments
1,278 views