public List < EditorError > createErrorList ( Editor < T > editor , T value , String messageKey ) { List < EditorError > result = new ArrayList < EditorError > ( ) ; result . add ( new BasicEditorError ( editor , value , getInvalidMessage ( messageKey ) ) ) ; return result ; }
Creates the error list .