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