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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to