Exception used to report memory allocation failures. More...
#include <exceptions.hpp>
Inherits libthreadar::exception_base.
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 More... | |
Protected Member Functions inherited from libthreadar::exception_base | |
| void | reset_first_message (const std::string &msg) |
| for libthreader internal use only | |
Additional Inherited Members | |
Public Member Functions inherited from libthreadar::exception_base | |
| exception_base (const std::string &x_msg) | |
| constructor More... | |
| virtual | ~exception_base () |
| destructor | |
| void | push_message (const std::string &x_msg) |
| to be used in a catch clause to add context information before rethrowing the exception | |
| unsigned int | size () const |
| for site which need to display the information to the user More... | |
| const std::string & | operator[] (unsigned int i) const |
| for site which need to display the information to the user More... | |
| std::string | get_message (const std::string &sep) const |
| concatenated messages and use the given separator between messages More... | |
Exception used to report memory allocation failures.
see exception_base for usage
Definition at line 131 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 137 of file exceptions.hpp.
1.8.8