cpp-pthread  (v1.7.3)
Simple C++ wrapper to pthread functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | Protected Attributes | List of all members
pthread::util::queue_exception Class Reference

#include <exceptions.hpp>

Inheritance diagram for pthread::util::queue_exception:
pthread::util::queue_full pthread::util::queue_timeout

Public Member Functions

 queue_exception (const std::string &msg="queue_error occured.")
 
virtual const char * what () const noexceptoverride
 

Protected Attributes

std::string _message
 message buffer
 

Detailed Description

thrown when something goes wrong in a synchonized queue.

Examples:
exceptions-tests.cpp.

Definition at line 143 of file exceptions.hpp.

Constructor & Destructor Documentation

pthread::util::queue_exception::queue_exception ( const std::string &  msg = "queue_error occured.")
explicit

new instance.

Parameters
msgexplanatory message.

Definition at line 69 of file exceptions.cpp.

Member Function Documentation

const char * pthread::util::queue_exception::what ( ) const
overridevirtualnoexcept
Returns
an explanatory message

Definition at line 75 of file exceptions.cpp.


The documentation for this class was generated from the following files: