00001
00002
00004
00005 #if !defined(AFX_FILEEXCEPTION_H__69CE36FD_20F9_4382_BDBC_F256E739EC06__INCLUDED_)
00006 #define AFX_FILEEXCEPTION_H__69CE36FD_20F9_4382_BDBC_F256E739EC06__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "Exception.h"
00013
00014
00015
00017
00018 class FileException : public Exception
00019 {
00020 public:
00021
00022 FileException() throw();
00023
00024 virtual ~FileException() throw();
00025
00026
00027 virtual std::string makeDescription()=0;
00028
00029 virtual std::string makeReason()=0;
00030
00031 virtual std::string makeOrigin(std::string sOrigin)=0;
00032
00033
00034 virtual std::string getNameOfTheFile();
00035
00036 virtual void setNameOfTheFile(std::string sNameOfTheFile);
00037
00038 private:
00039
00040 std::string _sNameOfTheFile;
00041 };
00042
00043 #endif // !defined(AFX_FILEEXCEPTION_H__69CE36FD_20F9_4382_BDBC_F256E739EC06__INCLUDED_)