00001 #ifndef CLASSLIB_FILE_SYSTEM_ERROR_H 00002 # define CLASSLIB_FILE_SYSTEM_ERROR_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "classlib/iobase/IOError.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 FileSystemError : public IOError 00018 { 00019 public: 00020 FileSystemError (const char *context, int code = 0); 00021 FileSystemError (const char *context, Error *chain); 00022 FileSystemError (Error *chain); 00023 00024 virtual std::string explainSelf (void) const; 00025 virtual Error * clone (void) const; 00026 virtual void rethrow (void); 00027 }; 00028 00029 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00030 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00031 00032 } // namespace lat 00033 #endif // CLASSLIB_FILE_SYSTEM_ERROR_H