Util.unwindException()

From: Gili (cowwo..bs.darktech.org)
Date: Fri Sep 09 2005 - 00:35:45 EDT

  • Next message: Mark Santos: "Re: toArray returns cached resultset"

    Hi,

            I'm trying to improve errors reporting in Cayenne. When a query fails
    because one of its parameters is NEW, I'd like to inform the user
    *which* parameter was at fault. The problem is that SelectQuery uses
    Util.unwindException() and so any extra exception level I add gets
    stripped away. Ideally, I don't want to discard the lower-level
    exception because it is useful to know not only what DataObject was at
    fault, but what it was wrong too. In other words, I want to keep *all*
    the exceptions. Would it be reasonable to remove or enhance
    unwindException() somehow?

    Gili

    -- 
    http://www.desktopbeautifier.com/
    



    This archive was generated by hypermail 2.0.0 : Fri Sep 09 2005 - 00:35:45 EDT