report any errors and exit if there were some . concode_field_sep ToolOptions options concode_elem_sep DiagCollector diags concode_field_sep void process concode_elem_sep void reportDiag concode_elem_sep DiagCollector getDiagCollector concode_elem_sep int run concode_elem_sep ToolOptions getOptions concode_elem_sep void setDiagCollector concode_elem_sep String concatenateNonEmptyStrings concode_elem_sep String getDataPath
void function ( ) { if ( getDiagCollector ( ) . hasErrors ( ) ) { reportDiag ( ) ; System . exit ( 1 ) ; } }