public class TemplateError extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplateError.ErrorItem |
static class |
TemplateError.ErrorReason |
static class |
TemplateError.ErrorType |
Constructor and Description |
---|
TemplateError(TemplateError.ErrorType severity,
TemplateError.ErrorReason reason,
String message,
String fieldName,
int lineno,
Exception exception) |
TemplateError(TemplateError.ErrorType severity,
TemplateError.ErrorReason reason,
TemplateError.ErrorItem item,
String message,
String fieldName,
int 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() |
TemplateError.ErrorItem |
getItem() |
int |
getLineno() |
String |
getMessage() |
TemplateError.ErrorReason |
getReason() |
TemplateError.ErrorType |
getSeverity() |
TemplateError |
serializable() |
String |
toString() |
public TemplateError(TemplateError.ErrorType severity, TemplateError.ErrorReason reason, TemplateError.ErrorItem item, String message, String fieldName, int lineno, Exception exception)
public TemplateError(TemplateError.ErrorType severity, TemplateError.ErrorReason reason, String message, String fieldName, int 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 TemplateError.ErrorItem getItem()
public String getMessage()
public String getFieldName()
public int getLineno()
public Exception getException()
public TemplateError serializable()
Copyright © 2016. All rights reserved.