public CheckErrors(Element element, SimpleMethod simpleMethod) {
super(element, simpleMethod);
errorCode = element.getAttribute("error-code");
if (errorCode == null || errorCode.length() == 0) errorCode = "error";
errorListAcsr = new ContextAccessor(element.getAttribute("error-list-name"), "error_list");
errorPrefix = new FlexibleMessage(UtilXml.firstChildElement(element, "error-prefix"), "check.error.prefix");
errorSuffix = new FlexibleMessage(UtilXml.firstChildElement(element, "error-suffix"), "check.error.suffix");
messagePrefix = new FlexibleMessage(UtilXml.firstChildElement(element, "message-prefix"), "check.message.prefix");
messageSuffix = new FlexibleMessage(UtilXml.firstChildElement(element, "message-suffix"), "check.message.suffix");