*** 115,124 **** if (errorCount > 0) { throw new Exception(errorCount + " errors found"); } } ! public void error(String message) { out.println("Error: " + message); errorCount++; } } --- 115,124 ---- if (errorCount > 0) { throw new Exception(errorCount + " errors found"); } } ! protected void error(String message) { out.println("Error: " + message); errorCount++; } }