diff options
Diffstat (limited to 'libdbpp/error.cpp')
-rw-r--r-- | libdbpp/error.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libdbpp/error.cpp b/libdbpp/error.cpp new file mode 100644 index 0000000..372cc4b --- /dev/null +++ b/libdbpp/error.cpp @@ -0,0 +1,13 @@ +#include "error.h" +#include <time.h> + +DB::ConnectionError::ConnectionError() : + FailureTime(time(NULL)) +{ +} + +DB::ConnectionError::ConnectionError(time_t t) : + FailureTime(t) +{ +} + |