SRW.UNKNOWN_QUERY
built-in exceptionThis exception stops the report execution and raises the following error message:
REP-1427: Nonexistent query name referenced in SRW.SET_MAXROW.
SRW.UNKNOWN_QUERY;
Reports Builder raises this exception when the SRW.SET_MAXROW
packaged procedure is called with an unknown query.
Suppose you want your own error message raised, instead of the default error message (above). You could handle this exception in the following way:
EXCEPTION
;
when SRW.UNKNOWN_QUERY then
srw.message(4000, 'Contact Per Jensen:
SRW.UNKNOWN_QUERY.');
raise srw.program_abort
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.