public void validationFailedWithException(Throwable t, Object value, String keyPath) {
if (keyPath != null && "<none>".equals(keyPath) && t instanceof ValidationException) {
ValidationException e = (ValidationException) t;
WOAssociation valueAssociation = (WOAssociation) _keyAssociations.valueForKey("value");
if (valueAssociation != null) {
keyPath = valueAssociation.keyPath();
}
t = new ValidationException(e.getMessage(), e.object(), keyPath);
}
parent().validationFailedWithException(t, value, keyPath);
}