Re: How can I handle validation exception?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Mar 12 2009 - 05:13:14 EDT

  • Next message: Νίκος Παράσχου: "Re: How can I handle validation exception?"

    On Mar 12, 2009, at 11:03 AM, Νίκος Παράσχου wrote:

    > I meant that I can't write the following because it can't be compiled
    > (note that a ValidationException is caught):
    >
    > try {
    > context.commitChanges();
    > }
    > catch(ValidationException vex) {
    > // ...
    > }

    Yes you can. Just try it.

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Mar 12 2009 - 05:13:45 EDT