evio::evioException Class Reference

Basic evio exception class. More...

#include <evioException.hxx>

List of all members.

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.

Detailed Description

Basic evio exception class.

Includes integer type and two text fields.


Constructor & Destructor Documentation

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]

Member Function Documentation

string evioException::toString ( void   )  const throw () [virtual]

Returns XML string listing exception object contents.

Returns:
XML string listing contents

References auxText, text, trace, and type.

Referenced by what().

const char * evioException::what ( void   )  const throw () [virtual]

Returns char * listing exception object contents.

Returns:
char * listing contents

References toString().


Member Data Documentation

Auxiliary text.

Referenced by toString().

Primary text.

Referenced by toString().

Stack trace, not available on all platforms.

Referenced by toString().

Exception type.

Referenced by toString().


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

Generated on 4 Feb 2014 for evio by  doxygen 1.6.1