![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: argumentException.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef argumentException_H_ 00010 #define argumentException_H_ 00011 00012 #pragma warning (disable:4786) 00013 00014 #include "tdbutil/tdbUtilDefines.h" 00015 #include <vlutil/vlExceptions.h> 00016 #include <string> 00017 00018 // 00019 // Identifies that something wrong happened while parsing/reading/processing 00020 // arguments. 00021 class DT_DLL_tdbutil DtArgumentException : public DtException 00022 { 00023 public: 00024 inline DtArgumentException(const char *errorMessage, 00025 const DtException *previousException = 0) throw(); 00026 00027 }; 00028 00029 inline DtArgumentException::DtArgumentException(const char *errorMessage, 00030 const DtException *previousException) throw() 00031 : DtException(errorMessage, previousException) 00032 { 00033 } 00034 00035 00036 #endif 00037 00038