* only call validationFailedWithException... if execption was raised

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25625 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2007-11-28 22:22:10 +00:00
parent cf8eac40f2
commit eeaa2ba24a

View file

@ -102,9 +102,11 @@ RCS_ID("$Id$")
ex = localException;
} NS_ENDHANDLER;
[component validationFailedWithException:ex
value:aValue
keyPath:_keyPath];
if (ex != nil) {
[component validationFailedWithException:ex
value:aValue
keyPath:_keyPath];
}
}
//--------------------------------------------------------------------