libSplash
DCException.hpp
1 
23 #ifndef DCEXCEPTION_HPP
24 #define DCEXCEPTION_HPP
25 
26 #include <stdexcept>
27 
28 namespace splash
29 {
35  class DCException : public std::runtime_error
36  {
37  public:
38 
44  DCException(const char* message) : std::runtime_error(message)
45  {
46  }
47 
53  DCException(std::string message) : std::runtime_error(message.c_str())
54  {
55  }
56  };
57 }
58 
59 #endif /* DCEXCEPTION_HPP */
DCException(std::string message)
Definition: DCException.hpp:53
DCException(const char *message)
Definition: DCException.hpp:44