I am using the latest (stable) release:
Cayenne 2.0.4
Built on October 8 2007
The java doc of this release indicates that commitChanges() throws
directly only CayenneRuntimeException.
http://cayenne.apache.org/doc20/api/cayenne/org/apache/cayenne/access/DataContext.html#commitChanges()
Nikos
Στις 12-03-2009, ημέρα Πεμ, και ώρα 10:22 +0200, ο/η Andrus Adamchik
έγραψε:
> On Mar 12, 2009, at 9:41 AM, Νίκος Παράσχου wrote:
>
> > The problem is that commitChanges() doesn't throw directly a
> > ValidationException so I cannot catch it in the catch block (it
> > throws a
> > CayenneRuntimeException)
>
> Which version of Cayenne? This could be a bug.
>
> Andrus
>
This archive was generated by hypermail 2.0.0 : Thu Mar 12 2009 - 04:34:49 EDT