ca.krasnay.scaffold
Class TemplateParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ca.krasnay.scaffold.TemplateParseException
- All Implemented Interfaces:
- Serializable
public class TemplateParseException
- extends RuntimeException
Exception thrown by a TemplateProcessor indicating a template syntax
error.
- See Also:
- Serialized Form
|
Method Summary |
int |
getColumn()
Returns the one-based column number at which the error occurred. |
int |
getLine()
Returns the one-based line number at which the error occurred. |
String |
getMessage()
|
String |
getTemplate()
Returns the template that was in error. |
TemplateParseException
public TemplateParseException(String template,
int line,
int column,
String message)
getTemplate
public String getTemplate()
- Returns the template that was in error.
getLine
public int getLine()
- Returns the one-based line number at which the error occurred.
getColumn
public int getColumn()
- Returns the one-based column number at which the error occurred.
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2015. All rights reserved.