Re: [Probably solved] DatabaseExceptions

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Sep 22 2003 - 18:50:12 EDT

  • Next message: G.Venu : "Re:problem with datanode.xml"

    Mike Kienenberger <mkienen..laska.net> wrote:
    > I'm looking through the source, and I see for non-select queries that I
    can
    > catch CayenneRuntimeException to detect errors.
    >
    > It might also be true for select queries, but I can't tell. Do all
    database
    > operations, including selects, throw CayenneRuntimeException in case of
    > errors?

    After a couple of weeks, I'm pretty sure that the answer to this question
    is:

    Yes, catch CayenneRuntimeException to trap all database errors.

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon Sep 22 2003 - 18:45:33 EDT