Exception Message Missing When Raising Custom Exception From Pipelined Function
(Doc ID 1949259.1)
Last updated on FEBRUARY 03, 2019
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
Exceptions originating from a pipelined table functions loose the accompanying error message, under some circumstances.
For instance, calling the function via a cursor
Note the missing text after ORA-20999:
Issue does not happen in the following cases:
If a 'built in' error occurs rather than raising a custom one.
If raise_application_error is called before a row is piped.
If the pipeline function is called without using a cursor.
If the pipeline function is called directly from sql.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document