akalend/amqpcpp — pull request #31 by maciekgajewski (2013-12-31 20:44:29+00:00)
Title: Few AMQPException fixes

Some small tweaks to improve error reporting.

New feature:
* New constructor which constructs error message from user-provided action and librabbitmq-provided error string.

Small fixes:
* Getters are const, allows for passing the exception as const ref.
* Class derived from std::exception. Gives the class a standard interface, and improves interoperability.
* Single-parameter constructors marked as 'explicit' to avoid accidental conversions.