to.etc.template
Class JSTemplateError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
to.etc.template.JSTemplateError
- All Implemented Interfaces:
- java.io.Serializable
public class JSTemplateError
- extends java.lang.RuntimeException
- See Also:
- Serialized Form
Constructor Summary |
JSTemplateError(java.lang.String message,
java.lang.String source,
int line,
int column)
|
JSTemplateError(java.lang.Throwable x,
java.lang.String message,
java.lang.String source,
int line,
int column)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JSTemplateError
public JSTemplateError(java.lang.String message,
java.lang.String source,
int line,
int column)
JSTemplateError
public JSTemplateError(java.lang.Throwable x,
java.lang.String message,
java.lang.String source,
int line,
int column)
remapLocation
public static int[] remapLocation(java.util.List<JSLocationMapping> mapList,
int lineNumber,
int columnNumber)
- Walk the remap list, and try to calculate a source location for a given output location.
- Parameters:
mapList
- lineNumber
- columnNumber
-
- Returns:
getColumn
public int getColumn()
getLine
public int getLine()
getSource
public java.lang.String getSource()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable