Hooked up the ChunkReader, integrated into cmake, and have it successfully "loading" the JSON info file and validating the chunk folder path.

This commit is contained in:
Jonathan Thomas
2013-08-28 13:51:22 -05:00
parent b3c6b79793
commit fb9edb15b5
7 changed files with 122 additions and 55 deletions
+10
View File
@@ -114,6 +114,16 @@ namespace openshot {
virtual ~InvalidFormat() throw () {}
};
/// Exception for invalid JSON
class InvalidJSON : public BaseException
{
public:
string file_path;
InvalidJSON(string message, string file_path)
: BaseException(message), file_path(file_path) { }
virtual ~InvalidJSON() throw () {}
};
/// Exception when invalid encoding options are used
class InvalidOptions : public BaseException
{