Seamly2D
Code documentation
VExceptionObjectError Class Reference

The VExceptionObjectError class for exception object error. More...

#include <vexceptionobjecterror.h>

Inheritance diagram for VExceptionObjectError:
Collaboration diagram for VExceptionObjectError:

Public Member Functions

 VExceptionObjectError (const QString &what, const QDomElement &domElement)
 VExceptionObjectError exception object error. More...
 
 VExceptionObjectError (const VExceptionObjectError &e)
 VExceptionObjectError copy constructor. More...
 
VExceptionObjectErroroperator= (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...
 
VExceptionoperator= (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 VExceptionclone () 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
 

Detailed Description

The VExceptionObjectError class for exception object error.

Definition at line 67 of file vexceptionobjecterror.h.

Constructor & Destructor Documentation

◆ VExceptionObjectError() [1/2]

VExceptionObjectError::VExceptionObjectError ( const QString &  what,
const QDomElement &  domElement 
)

VExceptionObjectError exception object error.

Parameters
whatstring with error
domElementdom element

Definition at line 65 of file vexceptionobjecterror.cpp.

References lineNumber, tagName, and tagText.

◆ VExceptionObjectError() [2/2]

VExceptionObjectError::VExceptionObjectError ( const VExceptionObjectError e)

VExceptionObjectError copy constructor.

Parameters
eexception

Definition at line 80 of file vexceptionobjecterror.cpp.

◆ ~VExceptionObjectError()

virtual VExceptionObjectError::~VExceptionObjectError ( )
virtual

Member Function Documentation

◆ DetailedInformation()

QString VExceptionObjectError::DetailedInformation ( ) const
virtual

DetailedInformation return detailed information about error.

Returns
detailed information

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().

◆ ErrorMessage()

QString VExceptionObjectError::ErrorMessage ( ) const
virtual

ErrorMessage return main error message.

Returns
main error message

Reimplemented from VException.

Definition at line 103 of file vexceptionobjecterror.cpp.

References VException::error.

Referenced by VApplication::notify(), and MApplication::notify().

◆ LineNumber()

qint32 VExceptionObjectError::LineNumber ( ) const
inline

LineNumber return line number in file.

Returns
line number

Definition at line 115 of file vexceptionobjecterror.h.

References lineNumber.

Referenced by operator=().

◆ operator=()

VExceptionObjectError & VExceptionObjectError::operator= ( const VExceptionObjectError e)

◆ TagName()

QString VExceptionObjectError::TagName ( ) const
inline

TagName return tag name.

Returns
tag name

Definition at line 105 of file vexceptionobjecterror.h.

References tagName.

Referenced by operator=().

◆ TagText()

QString VExceptionObjectError::TagText ( ) const
inline

TagText return tag text.

Returns
tag text

Definition at line 95 of file vexceptionobjecterror.h.

References tagText.

Referenced by operator=().

Member Data Documentation

◆ lineNumber

qint32 VExceptionObjectError::lineNumber
protected

lineNumber line number

Definition at line 87 of file vexceptionobjecterror.h.

Referenced by DetailedInformation(), LineNumber(), operator=(), and VExceptionObjectError().

◆ tagName

QString VExceptionObjectError::tagName
protected

tagName tag name

Definition at line 84 of file vexceptionobjecterror.h.

Referenced by DetailedInformation(), operator=(), TagName(), and VExceptionObjectError().

◆ tagText

QString VExceptionObjectError::tagText
protected

tagText tag text

Definition at line 81 of file vexceptionobjecterror.h.

Referenced by DetailedInformation(), operator=(), TagText(), and VExceptionObjectError().


The documentation for this class was generated from the following files: