ErrorVisualBean interface description

This interface defines the methods shown in the following table:
Table 1. ErrorVisualBean interface methods
Method Description
getText() Returns the error message that is currently being displayed (the first one from the passed list).
setText(String) Displays a new error message in the same bean.
getListText() Returns the list of error messages currently being displayed.
setListText(String[]) Displays a new list of error messages.