Main Page
Namespaces
Classes
Files
File List
File Members
src
model
xmlloadingexception.h
Go to the documentation of this file.
1
#ifndef XMLLOADINGEXCEPTION_H
2
#define XMLLOADINGEXCEPTION_H
3
4
#include <exception>
5
#include <QString>
6
#include <QDomElement>
7
8
class
XmlLoadingException
:
public
std::exception
9
{
10
public
:
11
XmlLoadingException
(
const
QString&
msg
,
const
QDomElement& node)
throw
()
12
:
m_msg
(
msg
)
13
,
m_line
(node.lineNumber())
14
,
m_col
(node.columnNumber())
15
{}
16
~XmlLoadingException
() throw() {}
17
18
QString
msg
()
const
{
return
m_msg
; }
19
int
lineNumber
()
const
{
return
m_line
; }
20
int
columnNumber
()
const
{
return
m_col
; }
21
22
private
:
23
QString
m_msg
;
24
int
m_line
;
25
int
m_col
;
26
};
27
28
#endif // XMLLOADINGEXCEPTION_H
XmlLoadingException
Definition:
xmlloadingexception.h:8
XmlLoadingException::m_msg
QString m_msg
Definition:
xmlloadingexception.h:23
XmlLoadingException::XmlLoadingException
XmlLoadingException(const QString &msg, const QDomElement &node)
Definition:
xmlloadingexception.h:11
XmlLoadingException::msg
QString msg() const
Definition:
xmlloadingexception.h:18
XmlLoadingException::m_line
int m_line
Definition:
xmlloadingexception.h:24
XmlLoadingException::m_col
int m_col
Definition:
xmlloadingexception.h:25
XmlLoadingException::lineNumber
int lineNumber() const
Definition:
xmlloadingexception.h:19
XmlLoadingException::~XmlLoadingException
~XmlLoadingException()
Definition:
xmlloadingexception.h:16
XmlLoadingException::columnNumber
int columnNumber() const
Definition:
xmlloadingexception.h:20
hector_nist_arena_designer
Author(s): Stefan Kohlbrecher
, Johannes Simon
autogenerated on Fri Aug 21 2020 10:45:27