Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
exception.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdexcept>
4 #include <sstream>
5 
6 namespace yage
7 {
8 
9 class FileLoadException : public std::runtime_error
10 {
11 public:
12  FileLoadException(std::string err);
13 
14  virtual const char *what() const throw();
15 
16 private:
17  std::string err_msg;
18 };
19 
20 } // namespace yage
Definition: exception.h:9
FileLoadException(std::string err)
Definition: exception.cpp:6
virtual const char * what() const
Definition: exception.cpp:15