00001
00002
00004
00005 #if !defined(AFX_PARSEEXCEPTION_H__D66B23F4_095E_4EA1_8AB9_93C79E3602EC__INCLUDED_)
00006 #define AFX_PARSEEXCEPTION_H__D66B23F4_095E_4EA1_8AB9_93C79E3602EC__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "FileException.h"
00013
00014
00015
00016
00018
00019 class ParseException : public FileException
00020 {
00021 public:
00022
00023 ParseException() throw();
00024
00025 ParseException(std::string sElementName) throw();
00026
00027 ParseException(std::string sElementName,std::string sOrigin,std::string sFileName,unsigned int iLineNumber) throw();
00028
00029 virtual ~ParseException() throw();
00030
00031
00032 virtual std::string makeDescription();
00033
00034 virtual std::string makeReason();
00035
00036 virtual std::string makeOrigin(std::string sOrigin);
00037
00038 private:
00039
00040 std::string _sElementName;
00041 };
00042
00043 #endif // !defined(AFX_PARSEEXCEPTION_H__D66B23F4_095E_4EA1_8AB9_93C79E3602EC__INCLUDED_)