qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Ortel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-812) LinkException needs an attribute that indicates the reason for the exception.
Date Mon, 02 Feb 2015 17:33:36 GMT

    [ https://issues.apache.org/jira/browse/PROTON-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301493#comment-14301493
] 

Jeff Ortel commented on PROTON-812:
-----------------------------------

This looks great but not sure how it will disambiguate causes for create_receiver() to fail.
 Between:
1. node does not exist on the broker.
2. intermediate dispatch router not connected/running so the link chain could not be created.

Can you explain?

> LinkException needs an attribute that indicates the reason for the exception.
> -----------------------------------------------------------------------------
>
>                 Key: PROTON-812
>                 URL: https://issues.apache.org/jira/browse/PROTON-812
>             Project: Qpid Proton
>          Issue Type: Improvement
>    Affects Versions: 0.8
>            Reporter: Jeff Ortel
>            Assignee: Gordon Sim
>             Fix For: 0.9
>
>
> LinkException needs an attribute that indicates the reason for the exception so that
the exception can be appropriately delt with.  For example: A link exception caused when a
node does not exist would be delt with differently than a link exception caused by an issue
in the link chain involving dispatch router.  Having constants for the error codes would be
desireable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message