Cross-Platform C++

ot::sax
class SAXException

#include "ot/sax/SAXException.h"

ot::Exception ot::sax::SAXNotRecognizedException ot::sax::SAXNotSupportedException ot::sax::SAXParseException 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.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

Methods inherited from class ot::Exception
getDescription, getLocalizedDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

SAXException

 SAXException(const String& message)
Constructs a SAXException with a detail message.

Parameters:
message - the detail message.

Method Detail

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()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements