The VExceptionObjectError class for exception object error. More...
#include <vexceptionobjecterror.h>
Public Member Functions | |
VExceptionObjectError (const QString &what, const QDomElement &domElement) | |
VExceptionObjectError exception object error. More... | |
VExceptionObjectError (const VExceptionObjectError &e) | |
VExceptionObjectError copy constructor. More... | |
VExceptionObjectError & | operator= (const VExceptionObjectError &e) |
virtual | ~VExceptionObjectError () 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 | TagText () const |
TagText return tag text. More... | |
QString | TagName () const |
TagName return tag name. More... | |
qint32 | LineNumber () const |
LineNumber return line number in file. 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 | 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 VExceptionObjectError class for exception object error.
Definition at line 67 of file vexceptionobjecterror.h.
VExceptionObjectError::VExceptionObjectError | ( | const QString & | what, |
const QDomElement & | domElement | ||
) |
VExceptionObjectError exception object error.
what | string with error |
domElement | dom element |
Definition at line 65 of file vexceptionobjecterror.cpp.
References lineNumber, tagName, and tagText.
VExceptionObjectError::VExceptionObjectError | ( | const VExceptionObjectError & | e | ) |
VExceptionObjectError copy constructor.
e | exception |
Definition at line 80 of file vexceptionobjecterror.cpp.
|
virtual |
|
virtual |
DetailedInformation return detailed information about error.
Reimplemented from VException.
Definition at line 113 of file vexceptionobjecterror.cpp.
References lineNumber, VException::MoreInfo(), tagName, and tagText.
Referenced by VApplication::notify(), and MApplication::notify().
|
virtual |
ErrorMessage return main error message.
Reimplemented from VException.
Definition at line 103 of file vexceptionobjecterror.cpp.
References VException::error.
Referenced by VApplication::notify(), and MApplication::notify().
|
inline |
LineNumber return line number in file.
Definition at line 115 of file vexceptionobjecterror.h.
References lineNumber.
Referenced by operator=().
VExceptionObjectError & VExceptionObjectError::operator= | ( | const VExceptionObjectError & | e | ) |
Definition at line 85 of file vexceptionobjecterror.cpp.
References LineNumber(), lineNumber, VException::operator=(), TagName(), tagName, TagText(), and tagText.
|
inline |
TagName return tag name.
Definition at line 105 of file vexceptionobjecterror.h.
References tagName.
Referenced by operator=().
|
inline |
TagText return tag text.
Definition at line 95 of file vexceptionobjecterror.h.
References tagText.
Referenced by operator=().
|
protected |
lineNumber line number
Definition at line 87 of file vexceptionobjecterror.h.
Referenced by DetailedInformation(), LineNumber(), operator=(), and VExceptionObjectError().
|
protected |
tagName tag name
Definition at line 84 of file vexceptionobjecterror.h.
Referenced by DetailedInformation(), operator=(), TagName(), and VExceptionObjectError().
|
protected |
tagText tag text
Definition at line 81 of file vexceptionobjecterror.h.
Referenced by DetailedInformation(), operator=(), TagText(), and VExceptionObjectError().