aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/gats-qt/parseexception.h
blob: 24b26aeb23e6ace81611c54a4eb1c2e0fa5bd669 (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
#ifndef GATS_PARSE_EXCEPTION_H
#define GATS_PARSE_EXCEPTION_H

#include <QException>

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

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

        virtual const char *what() const noexcept;

    private:
        const char *sMessage;
    };
};

#endif