GPUdb C++ API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
GPUdbException.hpp
Go to the documentation of this file.
1 #ifndef __GPUDB__GPUDBEXCEPTION_HPP__
2 #define __GPUDB__GPUDBEXCEPTION_HPP__
3 
4 #include <exception>
5 #include <string>
6 
7 namespace gpudb
8 {
9  /*
10  * Generic exceptions thrown by the C++ GPUdb client API.
11  */
12  class GPUdbException : public std::exception
13  {
14  public:
15  GPUdbException(const std::string& message);
16  virtual const char* what() const throw();
17  ~GPUdbException() throw();
18 
19  private:
20  std::string message;
21  };
22 
23 
24 }
25 
26 #endif
virtual const char * what() const
GPUdbException(const std::string &message)