public class JsltException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
JsltException(java.lang.String message) |
JsltException(java.lang.String message,
Location location) |
JsltException(java.lang.String message,
java.lang.Throwable cause) |
JsltException(java.lang.String message,
java.lang.Throwable cause,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
What column did the error occur on? -1 if unknown.
|
int |
getLine()
What line did the error occur on? -1 if unknown.
|
java.lang.String |
getMessage()
Returns the error message with location information.
|
java.lang.String |
getMessageWithoutLocation()
Returns the error message without location information.
|
java.lang.String |
getSource()
What file/resource did the error occur in? Can be null.
|
public JsltException(java.lang.String message)
public JsltException(java.lang.String message,
Location location)
public JsltException(java.lang.String message,
java.lang.Throwable cause)
public JsltException(java.lang.String message,
java.lang.Throwable cause,
Location location)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getMessageWithoutLocation()
public java.lang.String getSource()
public int getLine()
public int getColumn()