Hello, I implemented validateForSave(ValidationResult validationResult) in one of my ObjEntities. When a specific condition is not met, a ValidationException is thrown.
How can I handle this ValidationException?
The following doesn't work (I get: ValidationException is not thrown
anywhere inside block try{}):
try {
mycontext.commit();
}
catch(ValidationException vex) {
...
}
Thank you,
Nikos
