Result Checkers

A result checker is a custom Java class that can be implemented to customize error checking for mobile business object (MBO) operations.

Not all MBO operations can use a "standard" error reporting technique as the EIS system may return error codes or failures through various fields; In such cases, you may want to implement your own custom result checker. Doing so allows you to check any field for errors, or implement logic that determines what constitutes an error, and the severity of the error.

A custom result checker can throw errors for both a scheduled cache refresh as well as an on demand cache refresh:

Both cases send the OperationStatusEvent. This event indicates that an operation failed to execute properly. The server uses OperationStatusEvent to populate a statistics repository that tracks the success or failure of EIS operation invocations. An administrator can review these statistics in Sybase Control Center, by clicking the Monitor node in the left navigation pane. See Reviewing System Monitoring Data in System Administration of the Unwired Platform .