#ifndef ARARBICA_SAXNOTSUPPORTEDEXCEPTION_H #define ARARBICA_SAXNOTSUPPORTEDEXCEPTION_H // SAXNotSupportedException.h // $Id$ #include namespace Arabica { namespace SAX { /** * Exception class for an unsupported operation. * *

An XMLReader will throw this exception when it recognizes a * feature or property identifier, but cannot perform the requested * operation (setting a state or value). Other SAX2 applications and * extensions may use this class for similar purposes.

* * @since SAX 2.0 * @author Jez Higgins, * jez@jezuk.co.uk * @version 2.0 * @see SAXNotRecognizedException */ class SAXNotSupportedException : public SAXException { public: SAXNotSupportedException(const std::string& message) : SAXException(message) { } // SAXNotSupportedException SAXNotSupportedException(const SAXNotSupportedException& rhs) : SAXException(rhs) { } // SAXNotSupportedException SAXNotSupportedException& operator=(const SAXNotSupportedException& rhs) { SAXException::operator =(rhs); return *this; } // operator= virtual ~SAXNotSupportedException() throw() { } }; // class SAXNotSupportedException } // namespace SAX } // namespace Arabica #endif // end of file