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 
10 #pragma once
11 
12 #include <sstream>
13 #include <stdexcept>
14 
15 namespace yage
16 {
17 
18 class FileLoadException : public std::runtime_error
19 {
20 public:
21  FileLoadException(std::string err);
22 
23  virtual char const *what() const throw();
24 
25 private:
26  std::string err_msg;
27 };
28 
29 } // namespace yage
virtual char const * what() const
Definition: exception.cpp:25
Definition: exception.h:18
FileLoadException(std::string err)
Definition: exception.cpp:15