public class DefaultErrorHandler extends AbstractErrorHandler implements ErrorHandler
| Constructor and Description |
|---|
DefaultErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String messageKey,
Token token,
Map<String,Object> parameters)
Handles an error while interpreting a template in an appropriate way.
|
error, setLocaleequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiterrorpublic void error(String messageKey, Token token, Map<String,Object> parameters) throws ParseException
error in interface ErrorHandlermessageKey - 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 parametersParseExceptionCopyright © 2015. All rights reserved.