|
Exception
1.0.8
|
#include <Exception.h>
Inheritance diagram for Exception:
Collaboration diagram for Exception:Public Member Functions | |
| Exception () | |
| Exception (const Exception &e) | |
| Exception (const std::string &arg) | |
| Exception & | operator= (const Exception &rhs) |
| std::deque< std::string >::const_iterator | begin () const |
| std::deque< std::string >::const_iterator | end () const |
| std::string | get_message (void) const |
| void | set_message (const std::string &msg) |
| void | set_rethrow_message (const std::string &file, const int linenum) |
| const char * | what () const noexcept |
| void | update_what () |
Protected Member Functions | |
| virtual void | print (std::ostream &os=std::cerr) const |
Protected Attributes | |
| std::deque< std::string > | exception_queue |
| std::string | _what |
Friends | |
| std::ostream & | operator<< (std::ostream &os, Exception &a) |
| std::ostream & | operator<< (std::ostream &os, Exception *a) |
The class Exception, all the subclasses as defined by the user, are a form of conditions that a reasonable application might want to catch.
|
inline |
Constructs an Exception with no specified detail message.
|
inline |
Constructs an Exception with a specified detail message.
References set_message().
|
inline |
Get the iterator pointing to the beginning of the dequeue.
Referenced by print().
|
inline |
Get the iterator pointing to the end of the dequeue.
Referenced by print().
|
inline |
Get the most current message
|
protectedvirtual |
| void Exception::set_message | ( | const std::string & | msg | ) |
Add a message.
Referenced by Exception().
|
friend |
Prints this and its backtrace to the specified output stream.
|
friend |
Prints this and its backtrace to the specified output stream.