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 | List of all members
pthread::thread_exception Class Reference

#include <exceptions.hpp>

Inheritance diagram for pthread::thread_exception:
pthread::pthread_exception

Public Member Functions

 thread_exception (const std::string &message, const int pthread_error=-1)
 
- Public Member Functions inherited from pthread::pthread_exception
 pthread_exception (const std::string &message, const int pthread_errno=-1)
 
virtual const char * what () const noexceptoverride
 
virtual int pthread_errno ()
 
virtual const char * pthread_errmsg ()
 

Detailed Description

thrown to indicate that something went wrong with a thread

Examples:
exceptions-tests.cpp.

Definition at line 125 of file exceptions.hpp.

Constructor & Destructor Documentation

pthread::thread_exception::thread_exception ( const std::string &  message,
const int  pthread_error = -1 
)
Parameters
messageshort error description.
pthread_errorvalue return by a function in the pthread library.

Definition at line 62 of file exceptions.cpp.


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