issue a compilation error . this method does not throw an exception , since we want to continue processing and perhaps report other errors . it is a good idea to introduce a test case in compilationtest for any new call to reporterror ... to ensure that we continue correctly after an error . concode_field_sep Messager messager concode_field_sep void abortWithError concode_elem_sep void reportWarning
void function ( String arg0 , Element arg1 ) { messager . printMessage ( Diagnostic . Kind . ERROR , arg0 , arg1 ) ; }