Cayenne
  1. Cayenne
  2. CAY-718

ROP: handle non-serializable server side exceptions

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0M1, 3.0
    • Component/s: Core Library
    • Labels:
      None

      Description

      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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        34d 6h 38m 1 Andrus Adamchik 14/Jan/07 16:49
        Resolved Resolved Closed Closed
        175d 1h 26m 1 Andrus Adamchik 08/Jul/07 19:16
        Ari Maniatis made changes -
        Fix Version/s 3.0-final [ 12313760 ]
        Ari Maniatis made changes -
        Workflow jira [ 12456645 ] Cayenne workflow [ 12487144 ]
        Henri Yandell made changes -
        Project Import Sat Mar 21 00:51:04 PDT 2009 [ 1237621864637 ]
        Ari Maniatis made changes -
        Fix Version/s 3.0M1 [ 10124 ]
        Fix Version/s 3.0 [ 10091 ]
        Andrus Adamchik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Andrus Adamchik added a comment -

        bulk-closing resolved trunk issues

        Show
        Andrus Adamchik added a comment - bulk-closing resolved trunk issues
        Andrus Adamchik made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Andrus Adamchik created issue -

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Andrus Adamchik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development