public void write ( PrintWriter writer , Janitor janitor ) { write ( writer , janitor , warnings , "warning" ) ; write ( writer , janitor , errors , "error" ) ; }
Writes error messages to the specified PrintWriter .