blob: dc756f329fb4bedd78be898c4b0327c9d5163fbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
\file FileNotFound.h
\maintainer Morgan McGuire, http://graphics.cs.williams.edu
\created 2011-12-31
\edited 2011-12-31
*/
#ifndef G3D_FileNotFound_h
#define G3D_FileNotFound_h
#include "G3D/platform.h"
#include <string>
namespace G3D {
/** Thrown by various file opening routines if the file is not found.
\sa ParseError, System::findDataFile
*/
class FileNotFound {
public:
std::string filename;
std::string message;
FileNotFound() {}
FileNotFound(const std::string& f, const std::string& m) : filename(f), message(m) {}
virtual ~FileNotFound(){};
};
} // G3D
#endif
|