@ -117,18 +117,23 @@ public class ValidationRegistryManagerImpl implements ValidationRegistryManager,
@@ -117,18 +117,23 @@ public class ValidationRegistryManagerImpl implements ValidationRegistryManager,
returnbeans.get(validator);
}else{
// Try to locate an entry with simple class name in it
thrownewIllegalArgumentException("More than one Validator found that supports '"+domainClass+"' and cannot determine most specific Validator to use; give a hint by making bean name include the simple name of the target class");
thrownewIllegalArgumentException("More than one Validator found ("+sb.toString()+") that supports '"+domainClass+"', but cannot determine the most specific Validator to use; give a hint by making bean name include the simple name of the target class ('"+domainClass.getSimpleName().toString()+"')");