qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6632) [Java] Refactor AMQException to split out exceptions which carry a protocol error constant
Date Wed, 08 Jul 2015 13:26:04 GMT
Rob Godfrey created QPID-6632:
---------------------------------

             Summary: [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message