C++ Game Framework  2013-06-04
CGF is a DirectX 11 game framework, built in C++ and DirectX 11. This is used to contain many to the DirectX functionality and wrap them into a framework to make game development easier.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CGFException.h
Go to the documentation of this file.
1 // Filename: CGFException.h
4 
5 //Preprocessor directive designed to cause the current source file to be included only once in a single compilation
6 #pragma once
7 
8 //Includes
9 #include <stdexcept>
10 
11 namespace CGF
12 {
13  class CGFException : public std::runtime_error
14  {
15  public:
16  CGFException(const char* exception) : std::runtime_error(exception) { }
17  };
18 }