Package org.stringtemplate.v4.misc
Class STRuntimeMessage
- java.lang.Object
-
- org.stringtemplate.v4.misc.STMessage
-
- org.stringtemplate.v4.misc.STRuntimeMessage
-
public class STRuntimeMessage extends STMessage
Used to track errors that occur in the ST interpreter.
-
-
Constructor Summary
Constructors Constructor Description STRuntimeMessage(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSourceLocation()
Given an IP (code location), get it's range in source template then return it's template line:col.String
toString()
-
-
-
Field Detail
-
ip
public final int ip
Where error occurred in bytecode memory.
-
scope
public final InstanceScope scope
-
-
Constructor Detail
-
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip)
-
STRuntimeMessage
public STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope)
-
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)
-
-