SRW.RUN_REPORT_FAILURE
built-in exceptionIf 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.
SRW.RUN_REPORT_FAILURE;
Reports Builder raises this exception when the SRW.RUN_REPORT
packaged procedure fails.
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;
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.