public interface ErrorHandler
| Modifier and Type | Method and Description |
|---|---|
void |
error(String messageKey,
Token token)
Handles an error while interpreting a template in an appropriate way.
|
void |
error(String messageKey,
Token token,
Map<String,Object> parameters)
Handles an error while interpreting a template in an appropriate way.
|
void error(String messageKey, Token token, Map<String,Object> parameters) throws ParseException
messageKey - key for the error messagetoken - the token this error occurred onparameters - additional parameters to be filled into message or
null if you do not have additional parametersParseExceptionvoid error(String messageKey, Token token) throws ParseException
messageKey - key for the error messagetoken - the token this error occurred onParseExceptionCopyright © 2015. All rights reserved.