protected void setError ()

Indicates that an error has occurred.

This method will cause subsequent invocations of checkError() to return true until clearError() is invoked.