How to re-raise pl/sql exception in exception handling block?

前端 未结 1 714
闹比i
闹比i 2021-01-07 18:51

I have the following procedure which is used by some applications:

procedure p1
is
begin
  bla bla bla;  
end;

But there is no exception ha

相关标签:
1条回答
  • 2021-01-07 19:30

    If your error stays the same, change to

    ...
    exception when others then
      log_error(sqlcode, sqlerrm);
      raise;
    end;
    /
    

    This is explained in the documentation.

    0 讨论(0)
提交回复
热议问题