evio
5.2
|
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. More... | |
virtual const char * | what (void) const throw () |
Returns char * listing exception object contents. More... | |
Public Attributes | |
int | type |
Exception type. More... | |
std::string | text |
Primary text. More... | |
std::string | auxText |
Auxiliary text. More... | |
std::string | trace |
Stack trace, not available on all platforms. More... | |
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 | ||
) |
|
inlinevirtual |
|
virtual |
|
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().
int evio::evioException::type |
Exception type.
Referenced by toString().