public String getDebugString ( ) { final StringBuilder b = new StringBuilder ( ) ; boolean first = true ; for ( final ValidationError e : m_errors ) { if ( first ) { first = false ; } else { b . append ( "\n" ) ; } b . append ( e . getContext ( ) ) . append ( " - " ) . append ( e . getMessage ( ) ) ; } return b . toString ( ) ; }
Returns a string with all error messages for debugging purposes .