Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.