Package org.stringtemplate.v4.misc
Class STRuntimeMessage
java.lang.Object
org.stringtemplate.v4.misc.STMessage
org.stringtemplate.v4.misc.STRuntimeMessage
Used to track errors that occur in the ST interpreter.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Interpreter
Which interpreter was executing? Ifnull
, can be IO error or bad URL etc...final int
Where error occurred in bytecode memory.final InstanceScope
-
Constructor Summary
ConstructorsConstructorDescriptionSTRuntimeMessage
(Interpreter interp, ErrorType error, int ip) STRuntimeMessage
(Interpreter interp, ErrorType error, int ip, InstanceScope scope) STRuntimeMessage
(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Object arg) STRuntimeMessage
(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg) STRuntimeMessage
(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2) STRuntimeMessage
(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2, Object arg3) -
Method Summary
Modifier and TypeMethodDescriptionGiven an IP (code location), get it's range in source template then return it's template line:col.toString()
-
Field Details
-
interp
Which interpreter was executing? Ifnull
, can be IO error or bad URL etc... -
ip
public final int ipWhere error occurred in bytecode memory. -
scope
-
-
Constructor Details
-
STRuntimeMessage
-
STRuntimeMessage
-
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Object arg) -
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg) -
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2) -
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2, Object arg3)
-
-
Method Details