/*========================================================================= Program: wxMaracas Module: $RCSfile: CutModel2Exception.h,v $ Language: C++ Date: $Date: 2009/11/19 15:00:33 $ Version: $Revision: 1.1 $ Copyright: (c) 2002, 2003 License: This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __CutModel2ExceptionH__ #define __CutModel2ExceptionH__ #include #include class CutModel2Exception : public std::exception{ public: CutModel2Exception(std::string cause); ~CutModel2Exception() throw(); std::string getCause(){ return _cause; } private: std::string _cause; }; #endif