#include <OW_XMLParseException.hpp>
Inheritance diagram for OW_NAMESPACE::XMLParseException:
Public Types | |
enum | Code { BAD_START_TAG = 1, BAD_END_TAG, BAD_ATTRIBUTE_NAME, EXPECTED_EQUAL_SIGN, BAD_ATTRIBUTE_VALUE, MINUS_MINUS_IN_COMMENT, UNTERMINATED_COMMENT, UNTERMINATED_CDATA, UNTERMINATED_DOCTYPE, TOO_MANY_ATTRIBUTES, MALFORMED_REFERENCE, EXPECTED_COMMENT_OR_CDATA, START_END_MISMATCH, UNCLOSED_TAGS, MULTIPLE_ROOTS, VALIDATION_ERROR, SEMANTIC_ERROR } |
Public Member Functions | |
XMLParseException (const char *file, unsigned int line, Code code, const char *msg, unsigned int xmlline=0) | |
XMLParseException::Code | getCode () const |
virtual XMLParseException * | clone () const throw () |
Make a copy of this exception object. | |
virtual | ~XMLParseException () throw () |
virtual const char * | type () const |
Returns a string representing the concrete type. | |
Private Attributes | |
Code | _code |
Definition at line 43 of file OW_XMLParseException.hpp.
|
Definition at line 46 of file OW_XMLParseException.hpp. |
|
Definition at line 69 of file OW_XMLParseException.cpp. Referenced by clone(). |
|
Definition at line 88 of file OW_XMLParseException.cpp. |
|
Make a copy of this exception object. If allocation fails, return 0. Subclasses need to override this function. This function must not throw. Here is an example of how to implement this in a derived class: virtual DerivedException* clone() const { return new(std::nothrow) DerivedException(*this); } Reimplemented from OW_NAMESPACE::Exception. Definition at line 82 of file OW_XMLParseException.cpp. References XMLParseException(). |
|
Definition at line 72 of file OW_XMLParseException.hpp. |
|
Returns a string representing the concrete type. e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw. Reimplemented from OW_NAMESPACE::Exception. Definition at line 94 of file OW_XMLParseException.cpp. |
|
Definition at line 81 of file OW_XMLParseException.hpp. |