00001 /* 00002 ***************************************************************** 00003 ***************************************************************** 00004 ******* ******** 00005 ******* (C) Copyright 1989-2007 by Tecplot Inc. ******** 00006 ******* All Rights Reserved. ******** 00007 ******* ******** 00008 ***************************************************************** 00009 ***************************************************************** 00010 */ 00011 #ifndef TECPLOT_TOOLBOX_INVALIDARGUMENTEXCEPTION_H 00012 #define TECPLOT_TOOLBOX_INVALIDARGUMENTEXCEPTION_H 00013 00014 #if defined MSWIN 00015 #pragma once 00016 #endif 00017 00018 #include "Exception.h" 00019 00020 namespace tecplot { namespace toolbox { 00021 00026 class TPTOOLBOX_DLLAPI InvalidArgumentException : public Exception 00027 { 00028 public: 00029 explicit InvalidArgumentException(const std::string& what); 00030 explicit InvalidArgumentException(const std::string& what, 00031 const std::string& fileName, 00032 int lineNum); 00033 InvalidArgumentException(const InvalidArgumentException& other); 00034 virtual ~InvalidArgumentException(void) throw(); 00035 00036 private: 00037 /* 00038 * Declare a private assignment constructor to prevent the compiler from 00039 * creating it for us. 00040 */ 00041 InvalidArgumentException& operator = (const InvalidArgumentException& other); 00042 }; 00043 00044 }} // tecplot::toolbox 00045 00046 #endif
1.5.5