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 |
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip)
|
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self)
|
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Object arg)
|
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg)
|
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg,
Object arg2)
|
STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg,
Object arg2,
Object arg3)
|
ip
public int ip
- Where error occurred in bytecode memory
scope
public InstanceScope scope
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip)
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self)
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Object arg)
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg)
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg,
Object arg2)
STRuntimeMessage
public STRuntimeMessage(Interpreter interp,
ErrorType error,
int ip,
ST self,
Throwable e,
Object arg,
Object arg2,
Object arg3)
getSourceLocation
public String getSourceLocation()
- Given an ip (code location), get it's range in source template then
return it's template line:col.
toString
public String toString()
- Overrides:
toString in class STMessage
Copyright © 2011. All Rights Reserved.