diff options
author | jackpoz <giacomopoz@gmail.com> | 2014-08-22 16:58:23 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2014-08-22 21:00:56 +0200 |
commit | 5e8277e923c5545a15bae7c740ab6afaa597a59f (patch) | |
tree | 4cf5212c080588a7e868ee60134fc7fff51e400a /dep/g3dlite/include/G3D/FileNotFound.h | |
parent | a63aa858dcb400eafb97eed1f590e34c27d934a4 (diff) |
Core/Dependencies: Update G3D to v9.0 r4036
Diffstat (limited to 'dep/g3dlite/include/G3D/FileNotFound.h')
-rw-r--r-- | dep/g3dlite/include/G3D/FileNotFound.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dep/g3dlite/include/G3D/FileNotFound.h b/dep/g3dlite/include/G3D/FileNotFound.h new file mode 100644 index 00000000000..dc756f329fb --- /dev/null +++ b/dep/g3dlite/include/G3D/FileNotFound.h @@ -0,0 +1,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 |