org.stringtemplate.v4.misc
Class ErrorBuffer

java.lang.Object
  extended by org.stringtemplate.v4.misc.ErrorBuffer
All Implemented Interfaces:
STErrorListener

public class ErrorBuffer
extends Object
implements STErrorListener

Used during tests to track all errors


Field Summary
 List<STMessage> errors
           
 
Constructor Summary
ErrorBuffer()
           
 
Method Summary
 void compileTimeError(STMessage msg)
           
 void internalError(STMessage msg)
           
 void IOError(STMessage msg)
           
 void runTimeError(STMessage msg)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errors

public List<STMessage> errors
Constructor Detail

ErrorBuffer

public ErrorBuffer()
Method Detail

compileTimeError

public void compileTimeError(STMessage msg)
Specified by:
compileTimeError in interface STErrorListener

runTimeError

public void runTimeError(STMessage msg)
Specified by:
runTimeError in interface STErrorListener

IOError

public void IOError(STMessage msg)
Specified by:
IOError in interface STErrorListener

internalError

public void internalError(STMessage msg)
Specified by:
internalError in interface STErrorListener

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.