public void addErrorAndContinue ( Message message ) { if ( this . errors == null ) { this . errors = new LinkedList ( ) ; } this . errors . add ( message ) ; }
Adds an error to the message set but does not cause a failure . The message is not required to have a source line and column specified but it is best practice to try and include that information .