Exception Message Missing When Raising Custom Exception From Pipelined Function
Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 188.8.131.52 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms