Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> dbms_output.put_line - Handling ORU-10027 exceptions
Does anyone know if it's possible to catch one of these buffer overflow
errors with an exception handler?
I've tried the following but nothing in the exception handler seems to be executed.
set serveroutput on size 2000
declare
v_Long_String Varchar2(30) := 'abcdefghijklmnopqrst';
e_buffer exception;
pragma exception_init(e_buffer, -10027); -- params might be the wrong
way round - it was a long day
begin
for iCount in 1..300 loop
begin dbms_output.put_line(v_Long_string); exception when e_buffer then null; -- or whatever when others then null; -- or whatever end;
![]() |
![]() |