Seamly2D
Code documentation
VExceptionEmptyParameter Class Reference

The VExceptionEmptyParameter class for exception empty parameter. More...

#include <vexceptionemptyparameter.h>

Inheritance diagram for VExceptionEmptyParameter:
Collaboration diagram for VExceptionEmptyParameter:

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...
 
VExceptionEmptyParameteroperator= (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...
 
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 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
 

Detailed Description

The VExceptionEmptyParameter class for exception empty parameter.

Definition at line 67 of file vexceptionemptyparameter.h.

Constructor & Destructor Documentation

◆ VExceptionEmptyParameter() [1/2]

VExceptionEmptyParameter::VExceptionEmptyParameter ( const QString &  what,
const QString &  name,
const QDomElement &  domElement 
)

VExceptionEmptyParameter exception empty parameter.

Parameters
whatstring with error
namename of attribute where error
domElementdom element

Definition at line 66 of file vexceptionemptyparameter.cpp.

References lineNumber, name, tagName, and tagText.

◆ VExceptionEmptyParameter() [2/2]

VExceptionEmptyParameter::VExceptionEmptyParameter ( const VExceptionEmptyParameter e)

VExceptionEmptyParameter copy constructor.

Parameters
eexception

Definition at line 83 of file vexceptionemptyparameter.cpp.

◆ ~VExceptionEmptyParameter()

virtual VExceptionEmptyParameter::~VExceptionEmptyParameter ( )
virtual

Member Function Documentation

◆ DetailedInformation()

QString VExceptionEmptyParameter::DetailedInformation ( ) const
virtual

DetailedInformation return detailed information about error.

Returns
detailed information

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

◆ ErrorMessage()

QString VExceptionEmptyParameter::ErrorMessage ( ) const
virtual

◆ LineNumber()

qint32 VExceptionEmptyParameter::LineNumber ( ) const
inline

LineNumber return line number of tag.

Returns
line number

Definition at line 129 of file vexceptionemptyparameter.h.

References lineNumber.

Referenced by operator=().

◆ Name()

QString VExceptionEmptyParameter::Name ( ) const
inline

Name return name of attribute where error.

Returns
name

Definition at line 99 of file vexceptionemptyparameter.h.

References name.

Referenced by operator=().

◆ operator=()

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

◆ TagName()

QString VExceptionEmptyParameter::TagName ( ) const
inline

TagName return tag name.

Returns
tag name

Definition at line 119 of file vexceptionemptyparameter.h.

References tagName.

Referenced by operator=().

◆ TagText()

QString VExceptionEmptyParameter::TagText ( ) const
inline

TagText return tag text.

Returns
tag text

Definition at line 109 of file vexceptionemptyparameter.h.

References tagText.

Referenced by operator=().

Member Data Documentation

◆ lineNumber

qint32 VExceptionEmptyParameter::lineNumber
protected

lineNumber line number

Definition at line 91 of file vexceptionemptyparameter.h.

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

◆ name

QString VExceptionEmptyParameter::name
protected

name name attribute

Definition at line 82 of file vexceptionemptyparameter.h.

Referenced by ErrorMessage(), Name(), operator=(), and VExceptionEmptyParameter().

◆ tagName

QString VExceptionEmptyParameter::tagName
protected

tagName tag name

Definition at line 88 of file vexceptionemptyparameter.h.

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

◆ tagText

QString VExceptionEmptyParameter::tagText
protected

tagText tag text

Definition at line 85 of file vexceptionemptyparameter.h.

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


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