Package org.stringtemplate.v4.misc
Class ErrorManager
- java.lang.Object
-
- org.stringtemplate.v4.misc.ErrorManager
-
public class ErrorManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static STErrorListenerDEFAULT_ERROR_LISTENERSTErrorListenerlistener
-
Constructor Summary
Constructors Constructor Description ErrorManager()ErrorManager(STErrorListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t)voidcompileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg)voidcompileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg, Object arg2)voidgroupLexerError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)voidgroupSyntaxError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)voidinternalError(ST self, String msg, Throwable e)voidIOError(ST self, ErrorType error, Throwable e)voidIOError(ST self, ErrorType error, Throwable e, Object arg)voidlexerError(String srcName, String msg, org.antlr.runtime.Token templateToken, org.antlr.runtime.RecognitionException e)voidrunTimeError(Interpreter interp, InstanceScope scope, ErrorType error)voidrunTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg)voidrunTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2)voidrunTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2, Object arg3)voidrunTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Throwable e, Object arg)
-
-
-
Field Detail
-
DEFAULT_ERROR_LISTENER
public static STErrorListener DEFAULT_ERROR_LISTENER
-
listener
public final STErrorListener listener
-
-
Constructor Detail
-
ErrorManager
public ErrorManager()
-
ErrorManager
public ErrorManager(STErrorListener listener)
-
-
Method Detail
-
compileTimeError
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t)
-
lexerError
public void lexerError(String srcName, String msg, org.antlr.runtime.Token templateToken, org.antlr.runtime.RecognitionException e)
-
compileTimeError
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg)
-
compileTimeError
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg, Object arg2)
-
groupSyntaxError
public void groupSyntaxError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)
-
groupLexerError
public void groupLexerError(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg)
-
runTimeError
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error)
-
runTimeError
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg)
-
runTimeError
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Throwable e, Object arg)
-
runTimeError
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2)
-
runTimeError
public void runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2, Object arg3)
-
-