Class ErrorManager
java.lang.Object
org.stringtemplate.v4.misc.ErrorManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompileTimeError(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) voidvoidvoidlexerError(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) private StringsourceName(org.antlr.runtime.Token t)
-
Field Details
-
DEFAULT_ERROR_LISTENER
-
listener
-
-
Constructor Details
-
ErrorManager
public ErrorManager() -
ErrorManager
-
-
Method Details
-
compileTimeError
public void compileTimeError(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t) -
lexerError
-
compileTimeError
-
compileTimeError
-
groupSyntaxError
-
groupLexerError
-
runTimeError
-
runTimeError
-
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) -
IOError
-
IOError
-
internalError
-
sourceName
-