9 #include "pthread/exceptions.hpp"
18 pthread_exception::~pthread_exception(){
22 #if __cplusplus < 201103L
24 return _message.c_str();
28 return _message.c_str();
33 return _pthread_errno ;
37 return strerror(_pthread_errno );
72 #if __cplusplus < 201103L
virtual int pthread_errno()
mutex_exception(const std::string &message, const int pthread_errno=-1)
std::string _message
message buffer
virtual const char * what() const noexceptoverride
queue_timeout(const std::string &msg="synchronized_queue get/put timed out.")
condition_variable_exception(const std::string &message, const int pthread_errno=-1)
virtual const char * what() const noexceptoverride
pthread_exception(const std::string &message, const int pthread_errno=-1)
timeout_exception(const std::string &message)
thread_exception(const std::string &message, const int pthread_error=-1)
read_write_lock_exception(const std::string &message, const int pthread_errno=-1)
queue_full(const std::string &msg="synchronized_queue full.")
queue_exception(const std::string &msg="queue_error occured.")
virtual const char * pthread_errmsg()