aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/gats-qt/typeexception.h
blob: 93d00ba231af42fd5f3df3bba43a78fd9298b8ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef GATS_TYPE_EXCEPTION_H
#define GATS_TYPE_EXCEPTION_H

#include <QException>

namespace Gats
{
    class TypeException : public QException
    {
    public:
        TypeException( const char * const sMessage );
        TypeException( const TypeException &rSrc );
        virtual ~TypeException();

        virtual QException *clone() const;
        virtual void raise() const;

        virtual const char *what() const noexcept;

    private:
        const char *sMessage;
    };
};

#endif