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