You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/02/24 11:54:01 UTC

[jira] Resolved: (JCRRMI-3) Session.isLive() and logout() throw exceptions

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

Jukka Zitting resolved JCRRMI-3.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Jukka Zitting

Fixed in revision 747337.

> Session.isLive() and logout() throw exceptions
> ----------------------------------------------
>
>                 Key: JCRRMI-3
>                 URL: https://issues.apache.org/jira/browse/JCRRMI-3
>             Project: Jackrabbit JCR-RMI
>          Issue Type: Bug
>            Reporter: Marcel Reutegger
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.0
>
>
> The two methods will throw an exception in case the remote session is not available anymore. For most other methods an exception is OK in that case, but I think for the methods isLive() and logout() (both do not declare any exception) a client expects a different behavior. I propose we change it as follows:
> - Session.isLive(): return false if remote session is not available anymore
> - Session.logout(): write a log message, but do not throw a runtime exception.

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