My Oracle Support Banner

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 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

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.