Basic codaObject exception class contains description and code. More...
#include <CodaException.hxx>
Public Member Functions | |
CodaException (const string &c) | |
Constructor with description. | |
CodaException (const string &c, int i) | |
Constructor with description and code. | |
virtual | ~CodaException (void) throw () |
Destructor does nothing. | |
virtual void | setReturnCode (int i) throw () |
Sets return code. | |
virtual int | getReturnCode (void) const throw () |
Gets return code. | |
virtual string | toString (void) const throw () |
Converts exception to string. | |
virtual const char * | what (void) const throw () |
Converts exception to const char*. |
Basic codaObject exception class contains description and code.
Definition at line 38 of file CodaException.hxx.
CodaException::CodaException | ( | const string & | d | ) |
Constructor with description.
d | Description. |
Definition at line 32 of file CodaException.cc.
CodaException::CodaException | ( | const string & | d, | |
int | code | |||
) |
Constructor with description and code.
d | Description. | |
code | Code. |
Definition at line 43 of file CodaException.cc.
CodaException::~CodaException | ( | void | ) | throw () [virtual] |
Destructor does nothing.
Definition at line 52 of file CodaException.cc.
int CodaException::getReturnCode | ( | void | ) | const throw () [virtual] |
void CodaException::setReturnCode | ( | int | code | ) | throw () [virtual] |
string CodaException::toString | ( | void | ) | const throw () [virtual] |
Converts exception to string.
Definition at line 87 of file CodaException.cc.
Referenced by what().
const char * CodaException::what | ( | void | ) | const throw () [virtual] |
Converts exception to const char*.
Definition at line 102 of file CodaException.cc.
References toString().