@Override
                public void error(String msg, Throwable e)
                {
                    errorCount += 1;
                    System.err.println("error: " + msg);
                }
Base class for code generators using StringTemplate.

@author David Yu
@created Jan 5, 2010
protostuff-compiler/src/main/java/io/protostuff/compiler/STCodeGenerator.java