* @param keyPath the key path associated with this value, identifies the property of an object
*/
@Override
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);
}