[
https://issues.apache.org/jira/browse/QPID-6632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618614#comment-14618614
]
ASF subversion and git services commented on QPID-6632:
-------------------------------------------------------
Commit 1689876 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1689876 ]
QPID-6632 : Refactor exceptions to separate those with(out) AMQ error codes and
remove deprecated constructors
> [Java] Refactor AMQException to split out exceptions which carry a protocol
> error constant
> -------------------------------------------------------------------------------------------
>
> Key: QPID-6632
> URL: https://issues.apache.org/jira/browse/QPID-6632
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker, Java Client, Java Common
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: 6.0 [Java]
>
>
> Historically AMQPException was intended to represent exceptions in the AMQP
> layer and to carry the relevant AMQP error code. However it was soon abused
> to carry non AMQP errors.
> To restore the original intent we can create a new Exception type
> "QpidException" which caters to the general exception case, and then derive
> from that AMQException which requires the AMQP error constant.
> Having done this we can remove the deprecated constructors from AMQException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]