Skip to Main Content

SQL & PL/SQL

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!

10g: Re-raising exception modifies call stack

756543Mar 3 2010 — edited Mar 3 2010
Hello! I'm following "Oracle PL/SQL Reference" and trying to re-raise exception:
begin
  dbms_output.put_line('line a');
  raise no_data_found;
exception
  when others then
      dbms_output.put_line('line b');
      raise;
end;
Oracle reports exception was raised on line 7, not 3. Apparently "re-raise" modifies call stack, which makes it of no use: I can raise new exception with the same success. So it is not re-raising in a conventional sense. The question is, is there a possibility to actually RE-RAISE exception, without modifying call stack?
This post has been answered by Karthick2003 on Mar 3 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2010
Added on Mar 3 2010
2 comments
4,411 views