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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Cayenne - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

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.

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

LightInTheBox - Buy quality products at wholesale price!