thrownewPluginException("Filter["+filterEntity.getFilterType()+"] has been configed, only one filter element exists");
thrownewPluginException("Allow only one filter element to be configed, ["+ConfigConstant.BLACKLIST_ELEMENT_NAME+"] or ["+ConfigConstant.WHITELIST_ELEMENT_NAME+"]");
}
filterEntity=newFilterEntity();
...
...
@@ -187,10 +190,65 @@ public class ConfigParser extends Dom4JParser {
thrownewPluginException("Attribute["+ConfigConstant.FILTER_VALUE_ATTRIBUTE_NAME+"] value in element["+element.getName()+"] is invalid, must be int type",e);
thrownewPluginException("Attribute["+ConfigConstant.FILTER_VALUE_ATTRIBUTE_NAME+"] value in element["+childElement.getName()+"] is invalid, must be int type",e);