public class TemplateError extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplateError.ErrorReason |
static class |
TemplateError.ErrorType |
Constructor and Description |
---|
TemplateError(TemplateError.ErrorType severity,
TemplateError.ErrorReason reason,
String message,
String fieldName,
Integer lineno,
Exception exception) |
Modifier and Type | Method and Description |
---|---|
static TemplateError |
fromException(Exception ex) |
static TemplateError |
fromException(Exception ex,
int lineNumber) |
static TemplateError |
fromException(TemplateSyntaxException ex) |
static TemplateError |
fromSyntaxError(InterpretException ex) |
static TemplateError |
fromUnknownProperty(Object base,
String variable,
int lineNumber) |
Exception |
getException() |
String |
getFieldName() |
Integer |
getLineno() |
String |
getMessage() |
TemplateError.ErrorReason |
getReason() |
TemplateError.ErrorType |
getSeverity() |
TemplateError |
serializable() |
String |
toString() |
public TemplateError(TemplateError.ErrorType severity, TemplateError.ErrorReason reason, String message, String fieldName, Integer lineno, Exception exception)
public static TemplateError fromSyntaxError(InterpretException ex)
public static TemplateError fromException(TemplateSyntaxException ex)
public static TemplateError fromException(Exception ex)
public static TemplateError fromException(Exception ex, int lineNumber)
public static TemplateError fromUnknownProperty(Object base, String variable, int lineNumber)
public TemplateError.ErrorType getSeverity()
public TemplateError.ErrorReason getReason()
public String getMessage()
public String getFieldName()
public Integer getLineno()
public Exception getException()
public TemplateError serializable()
Copyright © 2015. All Rights Reserved.