00001
00002
00004
00005 #if !defined(AFX_ARITHMETICEXCEPTION_H__E829BCCE_4E01_4F6F_B85D_D56FBFF822B9__INCLUDED_)
00006 #define AFX_ARITHMETICEXCEPTION_H__E829BCCE_4E01_4F6F_B85D_D56FBFF822B9__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "Exception.h"
00013
00015
00016 class ArithmeticException : public Exception
00017 {
00018 public:
00019
00020 ArithmeticException() throw();
00021
00022 virtual ~ArithmeticException() throw();
00023
00024
00025 virtual std::string makeDescription()=0;
00026
00027 virtual std::string makeReason()=0;
00028
00029 virtual std::string makeOrigin(std::string sOrigin)=0;
00030 };
00031
00032 #endif // !defined(AFX_ARITHMETICEXCEPTION_H__E829BCCE_4E01_4F6F_B85D_D56FBFF822B9__INCLUDED_)