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

From: Tore Halset (JIRA) ("Tore)
Date: Thu Jun 05 2008 - 17:17:52 EDT

  • Next message: Tore Halset (JIRA): "[jira] Closed: (CAY-981) merge: faster junit tests"

        [ https://issues.apache.org/cayenne/browse/CAY-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924#action_12924 ]

    Tore Halset commented on CAY-671:
    ---------------------------------

    could someone using ROP actively take over this issue?

    > 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: Tore Halset
    > 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 : Thu Jun 05 2008 - 17:18:14 EDT