Package org.stringtemplate.v4.misc
Class ErrorManager
java.lang.Object
org.stringtemplate.v4.misc.ErrorManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
compileTimeError
(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t) void
compileTimeError
(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg) void
compileTimeError
(ErrorType error, org.antlr.runtime.Token templateToken, org.antlr.runtime.Token t, Object arg, Object arg2) void
groupLexerError
(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg) void
groupSyntaxError
(ErrorType error, String srcName, org.antlr.runtime.RecognitionException e, String msg) void
internalError
(ST self, String msg, Throwable e) void
void
void
lexerError
(String srcName, String msg, org.antlr.runtime.Token templateToken, org.antlr.runtime.RecognitionException e) void
runTimeError
(Interpreter interp, InstanceScope scope, ErrorType error) void
runTimeError
(Interpreter interp, InstanceScope scope, ErrorType error, Object arg) void
runTimeError
(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2) void
runTimeError
(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2, Object arg3) void
runTimeError
(Interpreter interp, InstanceScope scope, ErrorType error, Throwable e, Object arg) private String
sourceName
(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
-