// evioException.hxx // Author: Elliott Wolin, JLab, 18-Feb-2010 #ifndef _evioException_hxx #define _evioException_hxx #include #include // #ifndef _MSC_VER #ifndef sun #ifdef linux #include #include #endif #include #endif namespace evio { //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- /** * Basic evio exception class. Includes integer type and two text fields. */ class evioException : public std::exception { public: 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(); virtual const char *what(void) const throw(); public: int type; /**