code: @Override
      public void error(ErrorMessage errorMessage, Token token,
                        Map<String, Object> parameters) throws ParseException {
          Message message = new ResourceBundleMessage(errorMessage.key).withModel(
                  parameters).onToken(token);
          final ErrorEntry entry = new ErrorEntry(message, errorMessage, token, parameters);
          if (token instanceof AbstractToken) {
              AbstractToken abstractToken = (AbstractToken) token;
              abstractToken.setAnnotation(entry);
          }
          entries.add(entry);
      }
docs: {@inheritDoc}