Kevin Menard commented on CAY-671:
----------------------------------
Is this actively being worked on? If not, I'll try my hand at it. I'd like to see it fixed for the 3.0 M5 release.
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: Ari Maniatis
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.
------------------------------------------------
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: Ari Maniatis
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.