Exception Message Missing When Raising Custom Exception From Pipelined Function (Doc ID 1949259.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

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.

 

Cause

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