|
| Exception (int error, int l=0, const char *fn=0, const char *fl=0) |
| Constructor. More...
|
|
| Exception (int error, const String &msg, int l=0, const char *fn=0, const char *fl=0) |
| Constructor. More...
|
|
| Exception (int error, const String &msg, const Exception &ex, int l=0, const char *fn=0, const char *fl=0) |
| Constructor. More...
|
|
| Exception (const Exception &ex) |
| Copy constructor. More...
|
|
| ~Exception () throw () |
| Destructor. More...
|
|
int | code () const |
| Returns the error code. More...
|
|
int | line () const |
| Returns the source code line number where the exception was thrown. More...
|
|
const char * | func () const |
| Returns the name of the function which threw the Exception. More...
|
|
const char * | file () const |
| Returns the source code line number where the exception was thrown. More...
|
|
virtual std::ostream & | render_message (std::ostream &out) const |
| Renders an Exception to an ostream. More...
|
|
virtual std::ostream & | render_messages (std::ostream &out, const char *sep) const |
| Renders multiple Exceptions to an ostream. More...
|
|
ExceptionMessageRenderer | message () const |
| Retrieves a Renderer for this Exception. More...
|
|
ExceptionMessagesRenderer | messages (const char *sep=": ") const |
| Retrieves a Renderer for chained Exceptions. More...
|
|
This is a generic exception class for Hypertable.
It takes an error code as a constructor argument and translates it into an error message. Exceptions can be "chained".
Definition at line 314 of file Error.h.