The VExceptionEmptyParameter class for exception empty parameter. More...
#include <vexceptionemptyparameter.h>
Public Member Functions | |
VExceptionEmptyParameter (const QString &what, const QString &name, const QDomElement &domElement) | |
VExceptionEmptyParameter exception empty parameter. More... | |
VExceptionEmptyParameter (const VExceptionEmptyParameter &e) | |
VExceptionEmptyParameter copy constructor. More... | |
VExceptionEmptyParameter & | operator= (const VExceptionEmptyParameter &e) |
virtual | ~VExceptionEmptyParameter () Q_DECL_EQ_DEFAULT |
virtual QString | ErrorMessage () const Q_DECL_OVERRIDE |
ErrorMessage return main error message. More... | |
virtual QString | DetailedInformation () const Q_DECL_OVERRIDE |
DetailedInformation return detailed information about error. More... | |
QString | Name () const |
Name return name of attribute where error. More... | |
QString | TagText () const |
TagText return tag text. More... | |
QString | TagName () const |
TagName return tag name. More... | |
qint32 | LineNumber () const |
LineNumber return line number of tag. More... | |
Public Member Functions inherited from VException | |
VException (const QString &error) | |
VException constructor exception. More... | |
VException (const VException &e) | |
VException copy constructor. More... | |
VException & | operator= (const VException &e) |
virtual | ~VException () Q_DECL_EQ_DEFAULT |
virtual Q_NORETURN void | raise () const Q_DECL_OVERRIDE |
raise method raise for exception More... | |
virtual Q_REQUIRED_RESULT VException * | clone () const Q_DECL_OVERRIDE |
clone clone exception More... | |
QString | WhatUtf8 () const |
What return string with error. More... | |
void | AddMoreInformation (const QString &info) |
AddMoreInformation add more information for error. More... | |
QString | MoreInformation () const |
MoreInformation return more information for error. More... | |
virtual const char * | what () const Q_DECL_OVERRIDE |
Protected Attributes | |
QString | name |
name name attribute More... | |
QString | tagText |
tagText tag text More... | |
QString | tagName |
tagName tag name More... | |
qint32 | lineNumber |
lineNumber line number More... | |
Protected Attributes inherited from VException | |
QString | error |
error string with error More... | |
QString | moreInfo |
moreInfo more information about error More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VException | |
QString | MoreInfo (const QString &detInfo) const |
The VExceptionEmptyParameter class for exception empty parameter.
Definition at line 67 of file vexceptionemptyparameter.h.
VExceptionEmptyParameter::VExceptionEmptyParameter | ( | const QString & | what, |
const QString & | name, | ||
const QDomElement & | domElement | ||
) |
VExceptionEmptyParameter exception empty parameter.
what | string with error |
name | name of attribute where error |
domElement | dom element |
Definition at line 66 of file vexceptionemptyparameter.cpp.
References lineNumber, name, tagName, and tagText.
VExceptionEmptyParameter::VExceptionEmptyParameter | ( | const VExceptionEmptyParameter & | e | ) |
VExceptionEmptyParameter copy constructor.
e | exception |
Definition at line 83 of file vexceptionemptyparameter.cpp.
|
virtual |
|
virtual |
DetailedInformation return detailed information about error.
Reimplemented from VException.
Definition at line 117 of file vexceptionemptyparameter.cpp.
References lineNumber, VException::MoreInfo(), tagName, and tagText.
Referenced by MainWindow::LoadMeasurements(), and MainWindow::UpdateMeasurements().
|
virtual |
ErrorMessage return main error message.
Reimplemented from VException.
Definition at line 107 of file vexceptionemptyparameter.cpp.
References VException::error, and name.
Referenced by VPatternConverter::FixIncrementsToV0_2_0(), VDomDocument::getParameterBool(), VDomDocument::GetParametrDouble(), VDomDocument::GetParametrUInt(), MainWindow::LoadMeasurements(), VPatternConverter::MUnitV0_1_4(), and MainWindow::UpdateMeasurements().
|
inline |
LineNumber return line number of tag.
Definition at line 129 of file vexceptionemptyparameter.h.
References lineNumber.
Referenced by operator=().
|
inline |
Name return name of attribute where error.
Definition at line 99 of file vexceptionemptyparameter.h.
References name.
Referenced by operator=().
VExceptionEmptyParameter & VExceptionEmptyParameter::operator= | ( | const VExceptionEmptyParameter & | e | ) |
Definition at line 88 of file vexceptionemptyparameter.cpp.
References LineNumber(), lineNumber, Name(), name, VException::operator=(), TagName(), tagName, TagText(), and tagText.
|
inline |
TagName return tag name.
Definition at line 119 of file vexceptionemptyparameter.h.
References tagName.
Referenced by operator=().
|
inline |
TagText return tag text.
Definition at line 109 of file vexceptionemptyparameter.h.
References tagText.
Referenced by operator=().
|
protected |
lineNumber line number
Definition at line 91 of file vexceptionemptyparameter.h.
Referenced by DetailedInformation(), LineNumber(), operator=(), and VExceptionEmptyParameter().
|
protected |
name name attribute
Definition at line 82 of file vexceptionemptyparameter.h.
Referenced by ErrorMessage(), Name(), operator=(), and VExceptionEmptyParameter().
|
protected |
tagName tag name
Definition at line 88 of file vexceptionemptyparameter.h.
Referenced by DetailedInformation(), operator=(), TagName(), and VExceptionEmptyParameter().
|
protected |
tagText tag text
Definition at line 85 of file vexceptionemptyparameter.h.
Referenced by DetailedInformation(), operator=(), TagText(), and VExceptionEmptyParameter().