aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/gats-qt/parseexception.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/gats-qt/parseexception.h')
-rw-r--r--c++-qt/gats-qt/parseexception.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/parseexception.h b/c++-qt/gats-qt/parseexception.h
new file mode 100644
index 0000000..24b26ae
--- /dev/null
+++ b/c++-qt/gats-qt/parseexception.h
@@ -0,0 +1,25 @@
1#ifndef GATS_PARSE_EXCEPTION_H
2#define GATS_PARSE_EXCEPTION_H
3
4#include <QException>
5
6namespace Gats
7{
8 class ParseException : public QException
9 {
10 public:
11 ParseException( const char * const sMessage );
12 ParseException( const ParseException &rSrc );
13 virtual ~ParseException();
14
15 virtual QException *clone() const;
16 virtual void raise() const;
17
18 virtual const char *what() const noexcept;
19
20 private:
21 const char *sMessage;
22 };
23};
24
25#endif