Initial commit
This commit is contained in:
32
deps/g3dlite/include/G3D/FileNotFound.h
vendored
Normal file
32
deps/g3dlite/include/G3D/FileNotFound.h
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user