YggdrasilWM  0.1.1
A tiny window manager coded in C++
YggdrasilExceptions.hpp
Go to the documentation of this file.
1 
27 #ifndef YGGDRASILWM_YGGDRASILEXCEPTIONS_HPP
28 #define YGGDRASILWM_YGGDRASILEXCEPTIONS_HPP
29 #include <stdexcept>
30 #include <string>
31 
32 class YggdrasilException : public std::runtime_error {
33 public:
34  explicit YggdrasilException(const std::string& message) : std::runtime_error(message) {}
35 };
37 public:
38  explicit X11Exception(const std::string& message) : YggdrasilException(message) {}
39 };
40 
41 #endif //YGGDRASILWM_YGGDRASILEXCEPTIONS_HPP
Definition: YggdrasilExceptions.hpp:36
X11Exception(const std::string &message)
Definition: YggdrasilExceptions.hpp:38
Definition: YggdrasilExceptions.hpp:32
YggdrasilException(const std::string &message)
Definition: YggdrasilExceptions.hpp:34