nodejs-db-informix  master
nodejs bindings for Informix
 All Classes Functions Pages
exception.h
1 #ifndef __EXCEPTION_H_INCLUDED__
2 #define __EXCEPTION_H_INCLUDED__
3 
4 #include <exception>
5 #include <string>
6 
7 namespace nodejs_db {
8 class Exception : public std::exception {
9  public:
10  explicit Exception(const char* message) throw();
11  explicit Exception(const std::string& message) throw();
12  ~Exception() throw();
13  const char* what() const throw();
14  std::string::size_type size() throw();
15  void setMessage(const char* message) throw();
16  protected:
17  std::string message;
18 };
19 }
20 
21 #endif // __EXCEPTION_H_INCLUDED__