-
Notifications
You must be signed in to change notification settings - Fork 0
/
Exception.h
35 lines (30 loc) · 852 Bytes
/
Exception.h
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
27
28
29
30
31
32
33
34
35
#ifndef DATABASEERROR_H
#define DATABASEERROR_H
//
// Exception.h
//
// DataBaseError imp.
//
// Copyright (c) 2009, Renato Tegon Forti - [email protected]
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
#include <iostream>
class DataBaseError
: public std::exception
/// DataBaseError class
{
public:
DataBaseError(const std::string& what)
: exception()
{
}
} ; // DataBaseError
#endif