public boolean processErrors ( MessageEmit err ) { if ( valErrors . size ( ) == 0 ) { return false ; } for ( ValError ve : valErrors ) { processError ( err , ve ) ; } valErrors . clear ( ) ; return true ; }
processErrors is called to determine if there were any errors . If so processError is called for each error adn the errors vector is cleared . Override the processError method to emit custom messages .