Package org.stringtemplate.v4.misc
Class ErrorBuffer
- java.lang.Object
-
- org.stringtemplate.v4.misc.ErrorBuffer
-
- All Implemented Interfaces:
STErrorListener
public class ErrorBuffer extends java.lang.Object implements STErrorListener
Used during tests to track all errors.
-
-
Constructor Summary
Constructors Constructor Description ErrorBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompileTimeError(STMessage msg)voidinternalError(STMessage msg)voidIOError(STMessage msg)voidrunTimeError(STMessage msg)java.lang.StringtoString()
-
-
-
Field Detail
-
errors
public java.util.List<STMessage> errors
-
-
Method Detail
-
compileTimeError
public void compileTimeError(STMessage msg)
- Specified by:
compileTimeErrorin interfaceSTErrorListener
-
runTimeError
public void runTimeError(STMessage msg)
- Specified by:
runTimeErrorin interfaceSTErrorListener
-
IOError
public void IOError(STMessage msg)
- Specified by:
IOErrorin interfaceSTErrorListener
-
internalError
public void internalError(STMessage msg)
- Specified by:
internalErrorin interfaceSTErrorListener
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-