Q_DECL_NOEXCEPT_EXPR(true) instead noexcept(true).
--HG-- branch : develop
This commit is contained in:
parent
bc3bc3f994
commit
b9a99cd0cf
|
@ -30,7 +30,7 @@ class VException : public QException
|
|||
public:
|
||||
VException(const QString &what);
|
||||
VException(const VException &e):what(e.What()){}
|
||||
virtual ~VException() noexcept(true){}
|
||||
virtual ~VException() Q_DECL_NOEXCEPT_EXPR(true){}
|
||||
inline void raise() const { throw *this; }
|
||||
inline VException *clone() const { return new VException(*this); }
|
||||
virtual QString ErrorMessage() const;
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
:VException(what), id(0), key(key){}
|
||||
VExceptionBadId(const VExceptionBadId &e)
|
||||
:VException(e), id(e.BadId()), key(e.BadKey()){}
|
||||
virtual ~VExceptionBadId() noexcept(true){}
|
||||
virtual ~VExceptionBadId() Q_DECL_NOEXCEPT_EXPR(true){}
|
||||
virtual QString ErrorMessage() const;
|
||||
inline qint64 BadId() const {return id; }
|
||||
inline QString BadKey() const {return key; }
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
VExceptionConversionError(const QString &what, const QString &str);
|
||||
VExceptionConversionError(const VExceptionConversionError &e)
|
||||
:VException(e), str(e.String()){}
|
||||
virtual ~VExceptionConversionError() noexcept(true) {}
|
||||
virtual ~VExceptionConversionError() Q_DECL_NOEXCEPT_EXPR(true) {}
|
||||
virtual QString ErrorMessage() const;
|
||||
inline QString String() const {return str;}
|
||||
protected:
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
VExceptionEmptyParameter(const VExceptionEmptyParameter &e)
|
||||
:VException(e), name(e.Name()), tagText(e.TagText()), tagName(e.TagName()),
|
||||
lineNumber(e.LineNumber()){}
|
||||
virtual ~VExceptionEmptyParameter() noexcept(true) {}
|
||||
virtual ~VExceptionEmptyParameter() Q_DECL_NOEXCEPT_EXPR(true) {}
|
||||
virtual QString ErrorMessage() const;
|
||||
virtual QString DetailedInformation() const;
|
||||
inline QString Name() const {return name;}
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
VExceptionObjectError(const VExceptionObjectError &e)
|
||||
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()),
|
||||
moreInfo(e.MoreInformation()){}
|
||||
virtual ~VExceptionObjectError() noexcept(true) {}
|
||||
virtual ~VExceptionObjectError() Q_DECL_NOEXCEPT_EXPR(true) {}
|
||||
virtual QString ErrorMessage() const;
|
||||
virtual QString DetailedInformation() const;
|
||||
inline QString TagText() const {return tagText;}
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
VExceptionUniqueId(const QString &what, const QDomElement &domElement);
|
||||
VExceptionUniqueId(const VExceptionUniqueId &e)
|
||||
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()){}
|
||||
virtual ~VExceptionUniqueId() noexcept(true){}
|
||||
virtual ~VExceptionUniqueId() Q_DECL_NOEXCEPT_EXPR(true){}
|
||||
virtual QString ErrorMessage() const;
|
||||
virtual QString DetailedInformation() const;
|
||||
inline QString TagText() const {return tagText;}
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
VExceptionWrongParameterId(const QString &what, const QDomElement &domElement);
|
||||
VExceptionWrongParameterId(const VExceptionWrongParameterId &e)
|
||||
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()){}
|
||||
virtual ~VExceptionWrongParameterId() noexcept(true){}
|
||||
virtual ~VExceptionWrongParameterId() Q_DECL_NOEXCEPT_EXPR(true){}
|
||||
virtual QString ErrorMessage() const;
|
||||
virtual QString DetailedInformation() const;
|
||||
inline QString TagText() const {return tagText;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user