Raspberry Cloud
CloudException.h
1 #ifndef _CLOUDEXCEPTION_H
2 #define _CLOUDEXCEPTION_H
3 
4 #include <string>
5 
6 class CloudException : exception {
7 private:
8  char* message;
9 public:
10  CloudException(char* _m) : message(_m){}
11 
12  const char* what() const throw()
13  {
14  return message;
15  }
16 };
17 
18 #endif //_CLOUDEXCEPTION_H
Definition: CloudException.h:6