Bookshelf Home | Contents | Index | PDF |
Siebel Finance Guide > Business Services for Siebel Financial Services > Handling Business Rules Processor Errors > Throwing Errors Within a Business Rules ProcessThe BRP process definition includes three global system properties to throw errors and provide some meaningful information when a run-time error occurs. These properties are presented in Table 17.
After each statement, step, or procedure is executed, the BRP processor checks if System_ErrorCode is an empty string. System_ErrorCode can be set in two ways:
When System_ErrorCode is non empty, an error occurs and the BRP processor automatically sets the error source to be the full context of the current execution unit using the following syntax: where, Seq represents the sequence number of the Statement, Block, or Step. NOTE: Block is optional and occurs only inside a switch step. The three output global properties System_ErrorCode, System_ErrorMessage, and System_ErrorSource are returned back to the calling process. |
Siebel Finance Guide |