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 18.
After each statement, step, or procedure is executed, the BRP processor checks if System_ErrorCode is an empty string. There are two ways to set System_ErrorCode:
When System_ErrorCode is non empty, an error occurs and the BRP processor uses the following syntax to automatically set the error source to the full context of the current execution unit: Statement Seq (Block Seq) Step Seq Procedure Name 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 | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |