00001 #ifndef CLASSLIB_FILE_ERROR_H
00002 # define CLASSLIB_FILE_ERROR_H
00003
00004
00005
00006 # include "classlib/iobase/IOError.h"
00007
00008 namespace lat {
00009
00010
00011
00012
00013
00014
00015
00017 class FileError : public IOError
00018 {
00019 public:
00020 FileError (const char *context, int code = 0);
00021 FileError (const char *context, Error *chain);
00022 FileError (Error *chain);
00023
00024 virtual std::string explainSelf (void) const;
00025 virtual Error * clone (void) const;
00026 virtual void rethrow (void);
00027 };
00028
00029
00030
00031
00032 }
00033 #endif // CLASSLIB_FILE_ERROR_H