QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
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
#include <QString>
21
25
class
CORE_EXPORT
QgsException
26
{
27
public
:
28
QgsException
(
QString
const
& what )
29
: what_( what )
30
{}
31
32
virtual
~QgsException
() throw()
33
{}
34
36
QString
what
()
const
throw()
37
{
38
return
what_;
39
}
40
41
private
:
42
44
QString
what_;
45
46
};
// class QgsException
47
48
49
#endif
QgsException::what
QString what() const
Definition:
qgsexception.h:36
QgsException::~QgsException
virtual ~QgsException()
Definition:
qgsexception.h:32
QString
QgsException
Defines a qgis exception class.
Definition:
qgsexception.h:25
QgsException::QgsException
QgsException(QString const &what)
Definition:
qgsexception.h:28
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13