CMS 3D CMS Logo

IOError.h

Go to the documentation of this file.
00001 #ifndef CLASSLIB_IO_ERROR_H
00002 # define CLASSLIB_IO_ERROR_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "classlib/utils/Error.h"
00007 
00008 namespace lat {
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00013 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00014 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00015 
00017 class IOError : public Error
00018 {
00019 public:
00020     IOError (const char *context, int code = 0);
00021     IOError (const char *context, Error *chain);
00022     IOError (Error *chain);
00023 
00024     virtual std::string explainSelf (void) const;
00025     virtual Error *     clone (void) const;
00026     virtual void        rethrow (void);
00027 
00028 protected:
00029     virtual std::string doexplain (const char *type) const;
00030 
00031 private:
00032     std::string         m_context;
00033 };
00034 
00035 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00036 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00037 
00038 } // namespace lat
00039 #endif // CLASSLIB_IO_ERROR_H

Generated on Tue Jun 9 17:38:51 2009 for CMSSW by  doxygen 1.5.4