You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
501 B

  1. #pragma once
  2. #include <cppamqp/exception.h>
  3. namespace cppamqp
  4. {
  5. exception::exception(const std::string& p_message) :
  6. utl::exception (p_message)
  7. { }
  8. exception::exception(amqp_status_enum p_status) :
  9. utl::exception (amqp_error_string2(p_status)),
  10. status (p_status)
  11. { }
  12. exception::exception(const std::string& p_message, amqp_status_enum p_status) :
  13. utl::exception (p_message),
  14. status (p_status)
  15. { }
  16. }