QGIS API Documentation
3.14.0-Pi (9f7028fd23)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
core
qgsexception.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsexception.h
3
-------------------
4
begin : August 31, 2004
5
copyright : (C) 2004 by Mark Coletti
6
email : mcoletti at gmail.com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSEXCEPTION_H
18
#define QGSEXCEPTION_H
19
20
#define SIP_NO_CREATION
21
22
#define SIP_NO_FILE
23
24
#include <QString>
25
26
#include "qgis_core.h"
27
28
29
34
class
CORE_EXPORT
QgsException
35
{
36
public
:
37
41
QgsException
(
const
QString &message )
42
: mWhat( message )
43
{}
44
45
virtual
~
QgsException
() throw() = default;
46
48
QString what() const throw()
49
{
50
return
mWhat;
51
}
52
53
private
:
54
56
QString mWhat;
57
58
};
59
60
65
class
CORE_EXPORT
QgsCsException
:
public
QgsException
66
{
67
public
:
68
72
QgsCsException
(
const
QString &message ) :
QgsException
( message ) {}
73
74
};
75
82
class
CORE_EXPORT
QgsProcessingException
:
public
QgsException
83
{
84
public
:
85
89
QgsProcessingException
(
const
QString &message ) :
QgsException
( message ) {}
90
91
};
92
93
100
class
CORE_EXPORT
QgsProviderConnectionException
:
public
QgsException
101
{
102
public
:
103
107
QgsProviderConnectionException
(
const
QString &message ) :
QgsException
( message ) {}
108
109
};
110
111
112
#endif
QgsProviderConnectionException::QgsProviderConnectionException
QgsProviderConnectionException(const QString &message)
Constructor for QgsProviderConnectionException, with the specified error message.
Definition:
qgsexception.h:107
QgsException
Definition:
qgsexception.h:34
QgsCsException::QgsCsException
QgsCsException(const QString &message)
Constructor for QgsCsException, with the specified error message.
Definition:
qgsexception.h:72
QgsProcessingException::QgsProcessingException
QgsProcessingException(const QString &message)
Constructor for QgsProcessingException, with the specified error message.
Definition:
qgsexception.h:89
QgsCsException
Definition:
qgsexception.h:65
QgsException::QgsException
QgsException(const QString &message)
Constructor for QgsException, with the specified error message.
Definition:
qgsexception.h:41
QgsProviderConnectionException
Definition:
qgsexception.h:100
QgsProcessingException
Definition:
qgsexception.h:82
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17