SimpleAmqpClient icon indicating copy to clipboard operation
SimpleAmqpClient copied to clipboard

Improve exception contract

Open alanxz opened this issue 12 years ago • 0 comments

Right now std::runtime_exception is sometimes thrown in a public interfaces. It would better for error handling purposes if this specialized a bit better to allow programatic handling of various error conditions.

Places of note:

  • Channel::Channel - when login fails
  • Channel::BasicAck
  • ChannelImpl errors dealing with various channel conditions
  • others?

alanxz avatar Jan 16 '13 17:01 alanxz