Declare a SubtitleFormatParseError exception, its ancestry might not be final yet. (I'm thinking it needs a file format error class as base, which in turn inherits from agi::InvalidInput.) Updates #1213 in preparation for the actual patch.

Originally committed to SVN as r4556.
This commit is contained in:
Niels Martin Hansen 2010-06-20 19:04:58 +00:00
parent 5bd0981a72
commit 4c01f9a36b

View file

@ -47,6 +47,8 @@
#include <wx/string.h>
#endif
#include <libaegisub/exception.h>
//////////////
// Prototypes
@ -161,3 +163,5 @@ public:
};
DEFINE_SIMPLE_EXCEPTION(SubtitleFormatParseError, agi::InvalidInputException, "subtitle_io/parse/generic")