Huggle
build:^490^dce1e5c
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
exception.hpp
1
//This program is free software: you can redistribute it and/or modify
2
//it under the terms of the GNU General Public License as published by
3
//the Free Software Foundation, either version 3 of the License, or
4
//(at your option) any later version.
5
6
//This program is distributed in the hope that it will be useful,
7
//but WITHOUT ANY WARRANTY; without even the implied warranty of
8
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
//GNU General Public License for more details.
10
11
#ifndef EXCEPTION_H
12
#define EXCEPTION_H
13
14
#include <iostream>
15
#include <QString>
16
17
namespace
Huggle
18
{
19
//! Every exception raised by huggle is defined by this class
20
class
Exception
21
{
22
public
:
23
//! Error code
24
int
ErrorCode
;
25
QString Source;
26
//! Reason for crash
27
QString
Message
;
28
//! ctor
29
Exception
(QString Text,
bool
__IsRecoverable =
true
);
30
Exception
(QString Text, QString _Source,
bool
__IsRecoverable =
true
);
31
bool
IsRecoverable();
32
private
:
33
bool
_IsRecoverable;
34
};
35
}
36
37
#endif // EXCEPTION_H
Huggle::Exception::Message
QString Message
Reason for crash.
Definition:
exception.hpp:27
Huggle::Exception::ErrorCode
int ErrorCode
Error code.
Definition:
exception.hpp:24
Huggle::Exception
Every exception raised by huggle is defined by this class.
Definition:
exception.hpp:20
Huggle::Exception::Exception
Exception(QString Text, bool __IsRecoverable=true)
ctor
Definition:
exception.cpp:15
repo
huggle3-qt-lx
huggle
exception.hpp
Generated on Mon Nov 11 2013 08:00:08 for Huggle by
1.8.5