protected static IllegalArgumentException createIllegalArgumentException(String value, String target, String listingMethod) {
NSDictionary d = ERXDictionaryUtilities.dictionaryWithObjectsAndKeys(
new Object [] { value, "value",
target, "target",
listingMethod, "listingMethod" });
ERXSimpleTemplateParser parser = ERXSimpleTemplateParser.sharedInstance();
String message = parser.parseTemplateWithObject(
"@@value@@ isn't a supported @@target@@. (Not listed under @@listingMethod@@)", null, d, null);
return new IllegalArgumentException(message);
}