question: protected void addError ( String error ) { if ( error != null && error . length ( ) > 0 ) { if ( errorMessage == null ) errorMessage = "" ; else errorMessage += "\n" ; errorMessage += error ; } }
target:  Helper method to construct error messages.