ot::sax
class SAXException
#include "ot/sax/SAXException.h"
Encapsulate a general SAX error or warning.
This class can contain basic error or warning information from either the XML parser or the application: a parser writer or application writer can subclass it to provide additional functionality. SAX handlers may throw this exception or any exception derived from it.
If the parser or application needs to include information about a specific location in an XML document, it should use the SAXParseException derived class.
Constructor/Destructor Summary |
SAXException(const String& message)
Constructs a SAXException with a detail message. |
Constructor/Destructor Detail |
SAXException
SAXException(const String& message)
-
Constructs a SAXException with a detail message.
- Parameters:
message
-
the detail message.
getExceptionType
virtual String getExceptionType() const
-
Returns the class name as a String.
This method should be overridden in all derived classes to return the name of the derived class.
- See also:
-
getDescription()
Found a bug or missing feature? Please email us at support@elcel.com