[JIRA] Created: (CAY-671) custom exception class for ROP missing session

From: Tore Halset (JIRA) ("Tore)
Date: Wed Sep 27 2006 - 12:29:49 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-672) Change the logic to get the Java class from ResultSetMetadata"

    custom exception class for ROP missing session
    ----------------------------------------------

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

      Components: Cayenne Core Library
        Reporter: Tore Halset
     Assigned to: Tore Halset
         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.
    -
    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 : Wed Sep 27 2006 - 12:33:43 EDT