Basic evio exception class. More...
#include <evioException.hxx>
Public Member Functions | |
evioException (int typ=0, const std::string &txt="", const std::string &aux="") | |
evioException (int typ, const std::string &txt, const std::string &file, const std::string &func, int line) | |
virtual | ~evioException (void) throw () |
virtual std::string | toString (void) const throw () |
Returns XML string listing exception object contents. | |
virtual const char * | what (void) const throw () |
Returns char * listing exception object contents. | |
Public Attributes | |
int | type |
Exception type. | |
std::string | text |
Primary text. | |
std::string | auxText |
Auxiliary text. | |
std::string | trace |
Stack trace, not available on all platforms. |
Basic evio exception class.
Includes integer type and two text fields.
evio::evioException::evioException | ( | int | typ = 0 , |
|
const std::string & | txt = "" , |
|||
const std::string & | aux = "" | |||
) |
evio::evioException::evioException | ( | int | typ, | |
const std::string & | txt, | |||
const std::string & | file, | |||
const std::string & | func, | |||
int | line | |||
) |
virtual evio::evioException::~evioException | ( | void | ) | throw () [inline, virtual] |
string evioException::toString | ( | void | ) | const throw () [virtual] |
const char * evioException::what | ( | void | ) | const throw () [virtual] |
Returns char * listing exception object contents.
References toString().
std::string evio::evioException::auxText |
Auxiliary text.
Referenced by toString().
std::string evio::evioException::text |
Primary text.
Referenced by toString().
std::string evio::evioException::trace |
Stack trace, not available on all platforms.
Referenced by toString().
Exception type.
Referenced by toString().