With the following in a test window:
I copy the following text from the pop-up message:
The message text is being truncated to 1024 characters, even though you can get much more from an Oracle exception. raise_application_error() alone accepts messages up to 2048 bytes long.
Code:
begin
raise_application_error(-20000, rpad('x',999,'x') );
end;
Code:
ORA-20000: [999 x-es]
ORA-06512: a
The message text is being truncated to 1024 characters, even though you can get much more from an Oracle exception. raise_application_error() alone accepts messages up to 2048 bytes long.