#include <Fl_Xml.h>
Public Types | |
enum | ErrorCodes { NO_ERROR = 0, UNKNOWN, OPENTAG_EXPECTED, OPENTAG_CDATA_EXPECTED, CLOSETAG_EXPECTED, PI_DOCTYPE_EXPECTED, TAGNAME_EXPECTED, COMMENT_START_EXPECTED, COMMENT_END_MISSING, SLASH_EXPECTED, TAGNAME_MISMATCH, EQUAL_EXPECTED, VALUE_EXPECTED } |
XML extension error codes enumeration. More... | |
Public Methods | |
Fl_XmlException (int error, Fl_XmlLocator *locator) | |
Constructs new exception. More... | |
Fl_String | text (bool short_version=false) const |
Returns human readable error string. More... | |
int | error () const |
Returns errorcode of last error happened. | |
Fl_XmlLocator * | locator () const |
Returns locator for error occured. More... | |
Static Public Methods | |
const char * | error_string (int error) |
Return error string for given errorcode. |
You should catch always atleast these type of exceptions, when processing XML.
Definition at line 22 of file Fl_Xml.h.
|
|
Constructs new exception.
|
|
Returns locator for error occured. NULL, if no locator specified in Fl_XmlParser |
|
Returns human readable error string.
|