private void showErrorOnField(List<RegisterResponseFieldError> errors,@NonNull IRegistrationFieldView fieldView){
  if (errors != null && !errors.isEmpty()) {
    StringBuffer buffer=new StringBuffer();
    for (    RegisterResponseFieldError e : errors) {
      buffer.append(e.getUserMessage() + " ");
    }
    fieldView.handleError(buffer.toString());
  }
}

private void showErrorOnField ( List < RegisterResponseFieldError > errors , @ NonNull IRegistrationFieldView fieldView ) { if ( errors != null && ! errors . isEmpty ( ) ) { StringBuffer buffer = new StringBuffer ( ) ; for ( RegisterResponseFieldError e : errors ) { buffer . append ( e . getUserMessage ( ) + " " ) ; } fieldView . handleError ( buffer . toString ( ) ) ; } }
displays given errors on the given registration field .
