SRW.INTEGER_ERROR
built-in exceptionThis exception stops the report execution and raises the following error message:
REP-1417: Invalid integer argument passed to <SRW.MESSAGE or SRW.SET_MAXROW>.
SRW.INTEGER_ERROR;
Reports Builder raises this exception when SRW.MESSAGE
or SRW.SET_MAXROW
is called with a non-integer as a result of an internal error. (If an internal
error is not present, PL/SQL will catch the type mismatch with the PL/SQL exception
VALUE_ERROR
.)
Suppose you want your own error message raised, instead of the default error message. You could handle this exception in the following way:
EXCEPTION
when SRW.INTEGER_ERROR then
SRW.MESSAGE(4000, 'Contact the Application
Development group regarding
SRW.INTEGER_ERROR.');
raise SRW.PROGRAM_ABORT;
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.