ot_lib::ot_exception Class Reference

#include <ot_lib.h>

Inheritance diagram for ot_lib::ot_exception:

exception ot_lib::ot_obj

List of all members.

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


Constructor & Destructor Documentation

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]


Member Function Documentation

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

Parameters:
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]


Member Data Documentation

string ot_lib::ot_exception::m_errS [protected]


The documentation for this class was generated from the following file:

Generated on Sun May 4 12:42:45 2008 for OT_LIB 4.1 by  doxygen 1.5.5