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