fastcgi++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
asql
exception.hpp
Go to the documentation of this file.
1
#include <exception>
2
3
namespace
ASql
4
{
6
struct
Error
:
public
std::exception
7
{
9
int
erno
;
10
12
const
char
*
msg
;
13
18
Error
(
const
char
* msg_,
const
int
erno_):
erno
(erno_),
msg
(msg_) {}
19
Error
():
erno
(0),
msg
(0) {}
20
const
char
*
what
()
const
throw() {
return
msg
; }
21
22
Error
(
const
Error
& e):
erno
(e.
erno
),
msg
(e.
msg
) {}
23
};
24
}
Generated on Fri Aug 24 2012 12:02:36 for fastcgi++ by
1.8.1