protected void reportErrors ( Parameterization config ) { StringBuilder buf = new StringBuilder ( ) ; for ( ParameterException e : config . getErrors ( ) ) { if ( e instanceof UnspecifiedParameterException ) { continue ; } buf . append ( e . getMessage ( ) ) . append ( FormatUtil . NEWLINE ) ; } if ( buf . length ( ) > 0 ) { LOG . warning ( "Configuration errors:" + FormatUtil . NEWLINE + FormatUtil . NEWLINE + buf . toString ( ) ) ; } // config.clearErrors(); }
Report errors in a single error log record .