aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/gats-qt/typeexception.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/gats-qt/typeexception.h')
-rw-r--r--c++-qt/gats-qt/typeexception.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/typeexception.h b/c++-qt/gats-qt/typeexception.h
new file mode 100644
index 0000000..93d00ba
--- /dev/null
+++ b/c++-qt/gats-qt/typeexception.h
@@ -0,0 +1,26 @@
1#ifndef GATS_TYPE_EXCEPTION_H
2#define GATS_TYPE_EXCEPTION_H
3
4#include <QException>
5
6namespace Gats
7{
8 class TypeException : public QException
9 {
10 public:
11 TypeException( const char * const sMessage );
12 TypeException( const TypeException &rSrc );
13 virtual ~TypeException();
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
26