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 STErrorListener
DEFAULT_ERROR_LISTENER
STErrorListener
listener
-
Constructor Summary
Constructors Constructor Description ErrorManager()
ErrorManager(STErrorListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
IOError(ST self, ErrorType error, Throwable e)
void
IOError(ST self, ErrorType error, Throwable e, Object arg)
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)
-
-
-
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)
-
-