This mobile device JSP function returns an XML representation of error. The mobile device interprets this XML and renders an error page.
public String getErrorXML(String error, String errorField)
public String getErrorXML(String error, String errorField, String severity)
error - Required. Error description for the error to be shown to the user. This is usually derived by invoking the checkForError() function.
errorField - Required. Form field where the focus must be transferred to on clearing the error page.
severity - Optional. Displays the degree of error present. Recommended values in ascending order are: info, error, warning.