Session.isLive() and logout() throw exceptions
----------------------------------------------
Key: JCR-1933
URL: https://issues.apache.org/jira/browse/JCR-1933
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-jcr-rmi
Affects Versions: 1.5.0
Reporter: Marcel Reutegger
Priority: Minor
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.