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