Error Handling for Mobile Devices

Error handling is taken care of by the utility method getError XML as shown in the rfutil.jspf file. For information on the getError XML, see deleteFromTempQ

Validations performed by tabbing out of a field or by clicking a button may lead to an error. These errors are displayed in a standard error XML in the response output stream:
<errors>
    <error errortxt="errorDesc" focus="errorField"/> 
</errors>

See the following Inventory Inquiry error message example.

Figure 1. Error Condition 1: Item ID is not enteredError Handling Message