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:
parent
5bd0981a72
commit
4c01f9a36b
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,8 @@
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <libaegisub/exception.h>
|
||||||
|
|
||||||
|
|
||||||
//////////////
|
//////////////
|
||||||
// Prototypes
|
// Prototypes
|
||||||
|
@ -161,3 +163,5 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DEFINE_SIMPLE_EXCEPTION(SubtitleFormatParseError, agi::InvalidInputException, "subtitle_io/parse/generic")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue