evio  5.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
evio::evioException Class Reference

Basic evio exception class. More...

#include <evioException.hxx>

Inheritance diagram for evio::evioException:

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...
 

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 (
)
inlinevirtual

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

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().


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