Exception
1.0.4
|
#include <Exception.h>
Public Member Functions | |
Exception () | |
Exception (const Exception &e) | |
Exception (const string &arg) | |
Exception & | operator= (const Exception &rhs) |
deque< string >::const_iterator | begin () const |
deque< string >::const_iterator | end () const |
string | get_message (void) const |
void | set_message (const string &msg) |
void | set_rethrow_message (const string &file, const int linenum) |
const char * | what () const throw () |
void | update_what () |
Protected Member Functions | |
virtual void | print (ostream &os=cerr) const |
Protected Attributes | |
deque< string > | exception_queue |
string | _what |
Friends | |
ostream & | operator<< (ostream &os, Exception &a) |
ostream & | operator<< (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.
|
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 string & | msg) |
Add a message.
|
friend |
Prints this and its backtrace to the specified output stream.
|
friend |
Prints this and its backtrace to the specified output stream.