A script-enabled browser is required for this page to function properly.

SRW.RUN_REPORT_FAILURE built-in exception

If the SRW.RUN_REPORT packaged procedure fails, this exception stops the report execution and raises the following error message:

REP-1428: Error while running SRW.RUN_REPORT.

Syntax

SRW.RUN_REPORT_FAILURE;

Usage notes

Reports Builder raises this exception when the SRW.RUN_REPORT packaged procedure fails.

Example

Suppose you want your own error message raised, instead of the default error message (above). The following PL/SQL code raises a customized error message when SRW.RUN_REPORT_FAILURE is raised.


EXCEPTION 
 WHEN SRW.RUN_REPORT_FAILURE then 
 SRW.MESSAGE(30, 'Error mailing reports.');
raise SRW.PROGRAM_ABORT; 

See also

About the Reports Builder built-in package (SRW)

SRW built-in package