FactoryCreateInstanceException.h
Go to the documentation of this file.00001 #ifndef QIC_FACTORY_CREATE_INSTANCE_EXCEPTION_H_
00002 #define QIC_FACTORY_CREATE_INSTANCE_EXCEPTION_H_
00003
00004 #include <QString>
00005 #include <stdexcept>
00006
00007 namespace qic
00008 {
00009
00014 class FactoryCreateInstanceException : public std::runtime_error
00015 {
00016 public:
00017 FactoryCreateInstanceException (QString msg)
00018 : std::runtime_error(QString("FactoryCreateInstanceException: ").append(msg).toStdString()) { }
00019
00020 virtual ~FactoryCreateInstanceException () throw (){}}
00021 ;
00022
00023 }
00024 ;
00025
00026 #endif