#include <ot_lib.h>
Public Member Functions | |
virtual | ~ot_exception () throw () |
const char * | what () const throw () |
void | asXml (ostream &s=cout, int i=0) const |
virtual void | throwException (void) const =0 throw () |
Protected Member Functions | |
ot_exception (OT_OBJECT_TYPE type, const string &errS) | |
Protected Attributes | |
string | m_errS |
ot_lib::ot_exception::ot_exception | ( | OT_OBJECT_TYPE | type, | |
const string & | errS | |||
) | [inline, protected] |
virtual ot_lib::ot_exception::~ot_exception | ( | ) | throw () [inline, virtual] |
const char* ot_lib::ot_exception::what | ( | ) | const throw () [inline] |
void ot_lib::ot_exception::asXml | ( | ostream & | s = cout , |
|
int | i = 0 | |||
) | const [virtual] |
Write the object XML rappresentation on output stream
s | The output stream | |
i | The indent spaces |
Implements ot_lib::ot_obj.
virtual void ot_lib::ot_exception::throwException | ( | void | ) | const throw () [pure virtual] |
string ot_lib::ot_exception::m_errS [protected] |