IllegalArgumentException.h

Go to the documentation of this file.
00001 
00002 
00004 
00005 #if !defined(AFX_ILLEGALARGUMENTEXCEPTION_H__B28FD4EE_FE00_4D03_B1B0_09C588E690F1__INCLUDED_)
00006 #define AFX_ILLEGALARGUMENTEXCEPTION_H__B28FD4EE_FE00_4D03_B1B0_09C588E690F1__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "Exception.h"
00013 
00014 //#include <string>
00015 #include <vector>
00016 #include "stdarg.h"
00020 class IllegalArgumentException : public Exception  
00021 {
00022 public:
00023 
00024         IllegalArgumentException() throw();
00025 
00026         virtual ~IllegalArgumentException() throw();
00027 
00028         virtual std::string makeDescription();
00029 
00030         virtual std::string makeReason();
00031         
00032         virtual std::string makeOrigin(std::string sOrigin);
00033 
00034         IllegalArgumentException(std::string sElementName,
00035                                                            std::string sOrigin,
00036                                                            std::string sFileName,
00037                                                            unsigned int iLineNumber,
00038                                                            double dIndex,
00039                                                            long iNumberOfArguments,
00040                                                            ...);
00041 
00042 
00043 private :
00044 
00045         std::string                     _sElementName;
00046         double                          _dIndex;
00047         long                            _iNbArguments;
00048         std::vector<double>     _vArgumentsList;
00049 };
00050 
00051 #endif // !defined(AFX_ILLEGALARGUMENTEXCEPTION_H__B28FD4EE_FE00_4D03_B1B0_09C588E690F1__INCLUDED_)

Generated on Fri Jul 10 10:31:54 2009 for Utils Library by  doxygen 1.4.5