tbx
0.7.6
|
Exception thrown when reading a saved tag fails. More...
#include <tag.h>
Public Types | |
enum | Cause { None, EmptyFile, ErrorReading, EndTagNotMatch, InvalidTagStartChar, InvalidTagEndChar, InvalidNameEnd, MissingTagName, InvalidStringStart, InvalidStringEnd, InvalidEntityEnd, InvalidEntity } |
Enumeration describing the reason for a tag exception. | |
Public Member Functions | |
TagException (Cause cause, const std::string &item) | |
Constructor for error with an item name. | |
TagException (Cause cause, char c) | |
Contructor for error due to invalid character. | |
Cause | cause () const |
Return enumeration value specifying the cause of the exception. | |
const std::string & | item () const |
Return the item or character the exception happened on. | |
Exception thrown when reading a saved tag fails.