[jira] Closed: (CAY-671) custom exception class for ROP missing session

From: Kevin Menard (JIRA) ("Kevin)
Date: Fri Sep 12 2008 - 16:34:12 EDT

  • Next message: Kevin Menard (JIRA): "[jira] Commented: (CAY-1080) Support for copy/paste of entities/attributes/relationships"

         [ https://issues.apache.org/cayenne/browse/CAY-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Kevin Menard closed CAY-671.
    ----------------------------

        Resolution: Fixed

    I applied Tore's patch from the comments. This is now in trunk.

    > custom exception class for ROP missing session
    > ----------------------------------------------
    >
    > Key: CAY-671
    > URL: https://issues.apache.org/cayenne/browse/CAY-671
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Reporter: Tore Halset
    > Assignee: Kevin Menard
    > Priority: Minor
    > Fix For: 3.0
    >
    >
    > Currently BaseRemoteService are throwing a CayenneRuntimeException if the session are missing. It would be better if this was a subclass of CRE as it would make it easier for the ROP client to detect this situation and perhaps reconnect.
    > My proposal is to add org/apache/cayenne/remote/MissingSessionException as a subclass of CRE and throw it from BaseRemoteService.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Fri Sep 12 2008 - 16:35:12 EDT