|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.peaseplate.TemplateException org.peaseplate.internal.AbstractLocatedTemplateException
public abstract class AbstractLocatedTemplateException
The abstract implementation of a template exception that is linked to some tempalte source.
Constructor Summary | |
---|---|
AbstractLocatedTemplateException(TemplateLocator locator,
int line,
int column,
java.lang.String message)
Creates the exception using the specified locator, line and column number and the message. |
|
AbstractLocatedTemplateException(TemplateLocator locator,
int line,
int column,
java.lang.String message,
java.lang.Throwable cause)
Creates the exception using the specified locator, line and column number and the message. |
Method Summary | |
---|---|
int |
getColumn()
Returns the column of the template where the exception occurred |
int |
getLine()
Returns the line of the template where the exception occurred |
TemplateLocator |
getLocator()
Returns the locator of the template where the exception occurred |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractLocatedTemplateException(TemplateLocator locator, int line, int column, java.lang.String message)
locator
- the locatorline
- the linecolumn
- the columnmessage
- the messagepublic AbstractLocatedTemplateException(TemplateLocator locator, int line, int column, java.lang.String message, java.lang.Throwable cause)
locator
- the locatorline
- the linecolumn
- the columnmessage
- the messagecause
- the causeMethod Detail |
---|
public TemplateLocator getLocator()
public int getLine()
public int getColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |