|
Libthreadar 1.6.0
|
Exception used to report error met when manipulating threads. More...
#include <exceptions.hpp>
Inherits libthreadar::exception_base.
Public Member Functions | |
| exception_thread (const std::string &x_msg) | |
| Public Member Functions inherited from libthreadar::exception_base | |
| exception_base (const std::string &x_msg) | |
| constructor | |
| exception_base (const exception_base &ref)=default | |
| default copy constructor is fine | |
| exception_base (exception_base &&ref) noexcept=default | |
| default move constructor is fine | |
| exception_base & | operator= (const exception_base &ref)=default |
| default assignment operator is fine | |
| exception_base & | operator= (exception_base &&ref) noexcept=default |
| default move operator is fine | |
| virtual | ~exception_base ()=default |
| destructor | |
| void | push_message (const std::string &x_msg) |
| to be used in a catch clause to more detailed information of the problem cause, before rethrowing the exception | |
| unsigned int | size () const |
| for site which need to display the information to the user | |
| const std::string & | operator[] (unsigned int i) const |
| for site which need to display the information to the user | |
| std::string | get_message (const std::string &sep) const |
| concatenated messages and use the given separator between messages | |
Protected Member Functions | |
| virtual exception_base * | clone () const |
| create a new object of the same type and value of the object which clone() method is invoked | |
| Protected Member Functions inherited from libthreadar::exception_base | |
| void | reset_first_message (const std::string &msg) |
| for libthreader internal use only | |
Exception used to report error met when manipulating threads.
see exception_base for usage
Definition at line 182 of file exceptions.hpp.
|
inline |
Definition at line 185 of file exceptions.hpp.
|
inlineprotectedvirtual |
create a new object of the same type and value of the object which clone() method is invoked
Implements libthreadar::exception_base.
Definition at line 188 of file exceptions.hpp.
References libthreadar::cloner(), and libthreadar::exception_base::exception_base().