author | František Kučera <franta-hg@frantovo.cz> |
Wed, 25 Dec 2019 01:07:41 +0100 | |
branch | v_0 |
changeset 27 | 9441a517fa1f |
parent 10 | 7da7173d84b0 |
child 35 | cd9db43db120 |
permissions | -rw-r--r-- |
0 | 1 |
/** |
2 |
* Relational pipes |
|
3 |
* Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
|
4 |
* |
|
5 |
* This program is free software: you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
10
7da7173d84b0
fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents:
0
diff
changeset
|
7 |
* the Free Software Foundation, version 3. |
0 | 8 |
* |
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
16 |
*/ |
|
17 |
#pragma once |
|
18 |
||
19 |
#include <string> |
|
20 |
||
21 |
using namespace std; |
|
22 |
||
23 |
namespace relpipe { |
|
24 |
namespace tr { |
|
25 |
namespace sql { |
|
26 |
||
27 |
class SqlException { |
|
28 |
private: |
|
29 |
wstring message; |
|
30 |
public: |
|
31 |
||
32 |
SqlException(wstring message) : message(message) { |
|
33 |
} |
|
34 |
||
35 |
wstring getMessge() { |
|
36 |
return message; |
|
37 |
} |
|
38 |
||
39 |
}; |
|
40 |
||
41 |
} |
|
42 |
} |
|
43 |
} |