Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6632

[Java] Refactor AMQException to split out exceptions which carry a protocol error constant

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: