Qt IOC Container 3.5


DuplicateObjectIdException.h

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