warning: thrown exception type is not nothrow copy constructible.
--HG-- branch : develop
This commit is contained in:
parent
45452d4d77
commit
4d38e3aeee
|
@ -36,7 +36,7 @@
|
||||||
* @param error string with error
|
* @param error string with error
|
||||||
* @param id id
|
* @param id id
|
||||||
*/
|
*/
|
||||||
VExceptionBadId::VExceptionBadId(const QString &error, const quint32 &id)
|
VExceptionBadId::VExceptionBadId(const QString &error, const quint32 &id) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(error), id(id), key(QString()){}
|
:VException(error), id(id), key(QString()){}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -45,7 +45,7 @@ VExceptionBadId::VExceptionBadId(const QString &error, const quint32 &id)
|
||||||
* @param error string with error
|
* @param error string with error
|
||||||
* @param key string key
|
* @param key string key
|
||||||
*/
|
*/
|
||||||
VExceptionBadId::VExceptionBadId(const QString &error, const QString &key)
|
VExceptionBadId::VExceptionBadId(const QString &error, const QString &key) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(error), id(NULL_ID), key(key){}
|
:VException(error), id(NULL_ID), key(key){}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -53,11 +53,11 @@ VExceptionBadId::VExceptionBadId(const QString &error, const QString &key)
|
||||||
* @brief VExceptionBadId copy constructor
|
* @brief VExceptionBadId copy constructor
|
||||||
* @param e exception
|
* @param e exception
|
||||||
*/
|
*/
|
||||||
VExceptionBadId::VExceptionBadId(const VExceptionBadId &e)
|
VExceptionBadId::VExceptionBadId(const VExceptionBadId &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e), id(e.BadId()), key(e.BadKey()){}
|
:VException(e), id(e.BadId()), key(e.BadKey()){}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionBadId &VExceptionBadId::operator=(const VExceptionBadId &e)
|
VExceptionBadId &VExceptionBadId::operator=(const VExceptionBadId &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,10 +42,10 @@
|
||||||
class VExceptionBadId : public VException
|
class VExceptionBadId : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VExceptionBadId(const QString &error, const quint32 &id);
|
VExceptionBadId(const QString &error, const quint32 &id) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionBadId(const QString &error, const QString &key);
|
VExceptionBadId(const QString &error, const QString &key) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionBadId(const VExceptionBadId &e);
|
VExceptionBadId(const VExceptionBadId &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionBadId &operator=(const VExceptionBadId &e);
|
VExceptionBadId &operator=(const VExceptionBadId &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionBadId() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionBadId() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
* @param error string with error
|
* @param error string with error
|
||||||
* @param str string, where happend error
|
* @param str string, where happend error
|
||||||
*/
|
*/
|
||||||
VExceptionConversionError::VExceptionConversionError(const QString &error, const QString &str)
|
VExceptionConversionError::VExceptionConversionError(const QString &error, const QString &str) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(error), str(str)
|
:VException(error), str(str)
|
||||||
{
|
{
|
||||||
Q_ASSERT_X(not str.isEmpty(), Q_FUNC_INFO, "Error converting string is empty");
|
Q_ASSERT_X(not str.isEmpty(), Q_FUNC_INFO, "Error converting string is empty");
|
||||||
|
@ -49,12 +49,13 @@ VExceptionConversionError::VExceptionConversionError(const QString &error, const
|
||||||
* @brief VExceptionConversionError copy constructor
|
* @brief VExceptionConversionError copy constructor
|
||||||
* @param e exception
|
* @param e exception
|
||||||
*/
|
*/
|
||||||
VExceptionConversionError::VExceptionConversionError(const VExceptionConversionError &e)
|
VExceptionConversionError::VExceptionConversionError(const VExceptionConversionError &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e), str(e.String())
|
:VException(e), str(e.String())
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionConversionError &VExceptionConversionError::operator=(const VExceptionConversionError &e)
|
VExceptionConversionError &
|
||||||
|
VExceptionConversionError::operator=(const VExceptionConversionError &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,9 +41,9 @@
|
||||||
class VExceptionConversionError : public VException
|
class VExceptionConversionError : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VExceptionConversionError(const QString &error, const QString &str);
|
VExceptionConversionError(const QString &error, const QString &str) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionConversionError(const VExceptionConversionError &e);
|
VExceptionConversionError(const VExceptionConversionError &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionConversionError &operator=(const VExceptionConversionError &e);
|
VExceptionConversionError &operator=(const VExceptionConversionError &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionConversionError() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionConversionError() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
* @param domElement dom element
|
* @param domElement dom element
|
||||||
*/
|
*/
|
||||||
VExceptionEmptyParameter::VExceptionEmptyParameter(const QString &what, const QString &name,
|
VExceptionEmptyParameter::VExceptionEmptyParameter(const QString &what, const QString &name,
|
||||||
const QDomElement &domElement)
|
const QDomElement &domElement) V_NOEXCEPT_EXPR (true)
|
||||||
: VException(what), name(name), tagText(QString()), tagName(QString()), lineNumber(-1)
|
: VException(what), name(name), tagText(QString()), tagName(QString()), lineNumber(-1)
|
||||||
{
|
{
|
||||||
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
||||||
|
@ -57,12 +57,12 @@ VExceptionEmptyParameter::VExceptionEmptyParameter(const QString &what, const QS
|
||||||
* @brief VExceptionEmptyParameter copy constructor
|
* @brief VExceptionEmptyParameter copy constructor
|
||||||
* @param e exception
|
* @param e exception
|
||||||
*/
|
*/
|
||||||
VExceptionEmptyParameter::VExceptionEmptyParameter(const VExceptionEmptyParameter &e)
|
VExceptionEmptyParameter::VExceptionEmptyParameter(const VExceptionEmptyParameter &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e), name(e.Name()), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
:VException(e), name(e.Name()), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionEmptyParameter &VExceptionEmptyParameter::operator=(const VExceptionEmptyParameter &e)
|
VExceptionEmptyParameter &VExceptionEmptyParameter::operator=(const VExceptionEmptyParameter &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,9 +44,10 @@ class QDomElement;
|
||||||
class VExceptionEmptyParameter : public VException
|
class VExceptionEmptyParameter : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VExceptionEmptyParameter(const QString &what, const QString &name, const QDomElement &domElement);
|
VExceptionEmptyParameter(const QString &what, const QString &name,
|
||||||
VExceptionEmptyParameter(const VExceptionEmptyParameter &e);
|
const QDomElement &domElement) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionEmptyParameter &operator=(const VExceptionEmptyParameter &e);
|
VExceptionEmptyParameter(const VExceptionEmptyParameter &e) V_NOEXCEPT_EXPR (true);
|
||||||
|
VExceptionEmptyParameter &operator=(const VExceptionEmptyParameter &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionEmptyParameter() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionEmptyParameter() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -28,17 +28,17 @@
|
||||||
#include "vexceptioninvalidhistory.h"
|
#include "vexceptioninvalidhistory.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidHistory::VExceptionInvalidHistory(const QString &error)
|
VExceptionInvalidHistory::VExceptionInvalidHistory(const QString &error) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(error)
|
:VException(error)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidHistory::VExceptionInvalidHistory(const VExceptionInvalidHistory &e)
|
VExceptionInvalidHistory::VExceptionInvalidHistory(const VExceptionInvalidHistory &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e)
|
:VException(e)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidHistory &VExceptionInvalidHistory::operator=(const VExceptionInvalidHistory &e)
|
VExceptionInvalidHistory &VExceptionInvalidHistory::operator=(const VExceptionInvalidHistory &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
class VExceptionInvalidHistory : public VException
|
class VExceptionInvalidHistory : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit VExceptionInvalidHistory(const QString &error);
|
explicit VExceptionInvalidHistory(const QString &error) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionInvalidHistory(const VExceptionInvalidHistory &e);
|
VExceptionInvalidHistory(const VExceptionInvalidHistory &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionInvalidHistory &operator=(const VExceptionInvalidHistory &e);
|
VExceptionInvalidHistory &operator=(const VExceptionInvalidHistory &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionInvalidHistory() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionInvalidHistory() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -28,17 +28,17 @@
|
||||||
#include "vexceptioninvalidnotch.h"
|
#include "vexceptioninvalidnotch.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidNotch::VExceptionInvalidNotch(const QString &error)
|
VExceptionInvalidNotch::VExceptionInvalidNotch(const QString &error) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(error)
|
:VException(error)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidNotch::VExceptionInvalidNotch(const VExceptionInvalidNotch &e)
|
VExceptionInvalidNotch::VExceptionInvalidNotch(const VExceptionInvalidNotch &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e)
|
:VException(e)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionInvalidNotch &VExceptionInvalidNotch::operator=(const VExceptionInvalidNotch &e)
|
VExceptionInvalidNotch &VExceptionInvalidNotch::operator=(const VExceptionInvalidNotch &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
class VExceptionInvalidNotch : public VException
|
class VExceptionInvalidNotch : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit VExceptionInvalidNotch(const QString &error);
|
explicit VExceptionInvalidNotch(const QString &error) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionInvalidNotch(const VExceptionInvalidNotch &e);
|
VExceptionInvalidNotch(const VExceptionInvalidNotch &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionInvalidNotch &operator=(const VExceptionInvalidNotch &e);
|
VExceptionInvalidNotch &operator=(const VExceptionInvalidNotch &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionInvalidNotch() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionInvalidNotch() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
* @param what string with error
|
* @param what string with error
|
||||||
* @param domElement dom element
|
* @param domElement dom element
|
||||||
*/
|
*/
|
||||||
VExceptionObjectError::VExceptionObjectError(const QString &what, const QDomElement &domElement)
|
VExceptionObjectError::VExceptionObjectError(const QString &what, const QDomElement &domElement) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
||||||
{
|
{
|
||||||
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
||||||
|
@ -50,7 +50,7 @@ VExceptionObjectError::VExceptionObjectError(const QString &what, const QDomElem
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionObjectError::VExceptionObjectError(const QString &what)
|
VExceptionObjectError::VExceptionObjectError(const QString &what) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
@ -59,12 +59,12 @@ VExceptionObjectError::VExceptionObjectError(const QString &what)
|
||||||
* @brief VExceptionObjectError copy constructor
|
* @brief VExceptionObjectError copy constructor
|
||||||
* @param e exception
|
* @param e exception
|
||||||
*/
|
*/
|
||||||
VExceptionObjectError::VExceptionObjectError(const VExceptionObjectError &e)
|
VExceptionObjectError::VExceptionObjectError(const VExceptionObjectError &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionObjectError &VExceptionObjectError::operator=(const VExceptionObjectError &e)
|
VExceptionObjectError &VExceptionObjectError::operator=(const VExceptionObjectError &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,10 +44,10 @@ class QDomElement;
|
||||||
class VExceptionObjectError : public VException
|
class VExceptionObjectError : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VExceptionObjectError(const QString &what, const QDomElement &domElement);
|
VExceptionObjectError(const QString &what, const QDomElement &domElement) V_NOEXCEPT_EXPR (true);
|
||||||
explicit VExceptionObjectError(const QString &what);
|
explicit VExceptionObjectError(const QString &what) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionObjectError(const VExceptionObjectError &e);
|
VExceptionObjectError(const VExceptionObjectError &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionObjectError &operator=(const VExceptionObjectError &e);
|
VExceptionObjectError &operator=(const VExceptionObjectError &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionObjectError() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionObjectError() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
#include "vexception.h"
|
#include "vexception.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionUndo::VExceptionUndo(const QString &what)
|
VExceptionUndo::VExceptionUndo(const QString &what) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(what)
|
:VException(what)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionUndo::VExceptionUndo(const VExceptionUndo &e)
|
VExceptionUndo::VExceptionUndo(const VExceptionUndo &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e)
|
:VException(e)
|
||||||
{}
|
{}
|
||||||
|
|
|
@ -38,8 +38,8 @@
|
||||||
class VExceptionUndo : public VException
|
class VExceptionUndo : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit VExceptionUndo(const QString &what);
|
explicit VExceptionUndo(const QString &what) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionUndo(const VExceptionUndo &e);
|
VExceptionUndo(const VExceptionUndo &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionUndo() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionUndo() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
* @param what string with error
|
* @param what string with error
|
||||||
* @param domElement som element
|
* @param domElement som element
|
||||||
*/
|
*/
|
||||||
VExceptionWrongId::VExceptionWrongId(const QString &what, const QDomElement &domElement)
|
VExceptionWrongId::VExceptionWrongId(const QString &what, const QDomElement &domElement) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
:VException(what), tagText(QString()), tagName(QString()), lineNumber(-1)
|
||||||
{
|
{
|
||||||
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
Q_ASSERT_X(not domElement.isNull(), Q_FUNC_INFO, "domElement is null");
|
||||||
|
@ -54,12 +54,12 @@ VExceptionWrongId::VExceptionWrongId(const QString &what, const QDomElement &dom
|
||||||
* @brief VExceptionWrongId copy constructor
|
* @brief VExceptionWrongId copy constructor
|
||||||
* @param e exception
|
* @param e exception
|
||||||
*/
|
*/
|
||||||
VExceptionWrongId::VExceptionWrongId(const VExceptionWrongId &e)
|
VExceptionWrongId::VExceptionWrongId(const VExceptionWrongId &e) V_NOEXCEPT_EXPR (true)
|
||||||
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
:VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber())
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VExceptionWrongId &VExceptionWrongId::operator=(const VExceptionWrongId &e)
|
VExceptionWrongId &VExceptionWrongId::operator=(const VExceptionWrongId &e) V_NOEXCEPT_EXPR (true)
|
||||||
{
|
{
|
||||||
if ( &e == this )
|
if ( &e == this )
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,9 +44,9 @@ class QDomElement;
|
||||||
class VExceptionWrongId : public VException
|
class VExceptionWrongId : public VException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VExceptionWrongId(const QString &what, const QDomElement &domElement);
|
VExceptionWrongId(const QString &what, const QDomElement &domElement) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionWrongId(const VExceptionWrongId &e);
|
VExceptionWrongId(const VExceptionWrongId &e) V_NOEXCEPT_EXPR (true);
|
||||||
VExceptionWrongId &operator=(const VExceptionWrongId &e);
|
VExceptionWrongId &operator=(const VExceptionWrongId &e) V_NOEXCEPT_EXPR (true);
|
||||||
virtual ~VExceptionWrongId() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
virtual ~VExceptionWrongId() V_NOEXCEPT_EXPR (true) Q_DECL_EQ_DEFAULT;
|
||||||
|
|
||||||
Q_NORETURN virtual void raise() const override { throw *this; }
|
Q_NORETURN virtual void raise() const override { throw *this; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user