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

SRW.INTEGER_ERROR built-in exception

This exception stops the report execution and raises the following error message:


REP-1417: Invalid integer argument passed to <SRW.MESSAGE or SRW.SET_MAXROW>.

Syntax


SRW.INTEGER_ERROR;

Usage notes

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

Example

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; 

See also

About the Reports Builder built-in package (SRW)

SRW built-in package