mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
Added some parser exceptions.
This commit is contained in:
parent
901d16a96f
commit
2ccbfeff47
9 changed files with 201 additions and 30 deletions
|
@ -6,6 +6,7 @@ namespace YAML
|
|||
{
|
||||
class Exception: public std::exception {};
|
||||
class ScannerException: public Exception {};
|
||||
class ParserException: public Exception {};
|
||||
class RepresentationException: public Exception {};
|
||||
|
||||
// scanner exceptions
|
||||
|
@ -40,6 +41,12 @@ namespace YAML
|
|||
unsigned value;
|
||||
};
|
||||
|
||||
// parser exceptions
|
||||
class MapEndNotFound: public ParserException {};
|
||||
class SeqEndNotFound: public ParserException {};
|
||||
class BadYAMLDirective: public ParserException {};
|
||||
class BadTAGDirective: public ParserException {};
|
||||
|
||||
// representation exceptions
|
||||
class InvalidScalar: public RepresentationException {};
|
||||
class BadDereference: public RepresentationException {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue