00001 00018 #ifndef _CMS_ILLEGALSTATEEXCEPTION_H_ 00019 #define _CMS_ILLEGALSTATEEXCEPTION_H_ 00020 00021 #include <cms/Config.h> 00022 #include <cms/CMSException.h> 00023 00024 namespace cms { 00025 00034 class CMS_API IllegalStateException : public CMSException { 00035 public: 00036 00037 IllegalStateException(); 00038 00039 IllegalStateException(const IllegalStateException& ex); 00040 00041 IllegalStateException(const std::string& message); 00042 00043 IllegalStateException(const std::string& message, const std::exception* cause); 00044 00045 IllegalStateException(const std::string& message, const std::exception* cause, 00046 const std::vector<std::pair<std::string, int> >& stackTrace); 00047 00048 virtual ~IllegalStateException() throw(); 00049 00050 virtual IllegalStateException* clone(); 00051 00052 }; 00053 00054 } 00055 00056 #endif /*_CMS_ILLEGALSTATEEXCEPTION_H_*/
1.6.1