Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
no_camera_attached_exception.h
Go to the documentation of this file.
1 #ifndef NO_CAMERA_ATTACHED_EXCEPTION_H
2 #define NO_CAMERA_ATTACHED_EXCEPTION_H
3 
4 #include <exception>
5 
6 namespace Exceptions {
7  class NoCameraAttachedException : public std::exception {
8  public:
10  }
11 
12  virtual const char* what() const throw() {
13  return "No camera is attached!";
14  }
15  };
16 }
17 
18 #endif
virtual const char * what() const
Definition: no_camera_attached_exception.h:12
NoCameraAttachedException()
Definition: no_camera_attached_exception.h:9
Definition: no_camera_attached_exception.h:7