[JIRA] Created: (CAY-718) ROP: handle non-serializable server side exceptions

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Dec 11 2006 - 05:12:14 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-719) Finalize Maven assembly scripts for the upcoming 3.0 milestone releases"

    ROP: handle non-serializable server side exceptions
    ---------------------------------------------------

             Key: CAY-718
             URL: http://issues.apache.org/cayenne/browse/CAY-718
         Project: Cayenne
            Type: Improvement

      Components: Cayenne Core Library
        Versions: 3.0
        Reporter: Andrus Adamchik
     Assigned to: Andrus Adamchik
        Priority: Minor
         Fix For: 3.0

    Per http://objectstyle.org/cayenne/lists/cayenne-user/2006/12/0051.html exceptions thrown in the lower layers of Cayenne ROP server may not be serializable. If those are driver exceptions, just like the derby exceptions in the example above, we have little control over it. It would be nice to provide the client with more information about the exception cause, instead of generic 'XYZ does not implement java.io.Serializable " message. So we may need to catch and rethrow exceptions.

    Another consideration here is security. We might add a switch "verboseClientExceptions" that would enable or disable sending of server-side exceptions to the client, thus preventing casual users from seeing too much details.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Mon Dec 11 2006 - 05:12:45 EST