arabica/include/SAX/SAXNotSupportedException.hpp

57 lines
1.3 KiB
C++
Raw Permalink Normal View History

2003-09-11 12:26:53 +02:00
#ifndef ARARBICA_SAXNOTSUPPORTEDEXCEPTION_H
#define ARARBICA_SAXNOTSUPPORTEDEXCEPTION_H
2002-06-21 13:16:28 +02:00
// SAXNotSupportedException.h
// $Id$
2007-09-05 00:55:47 +02:00
#include <SAX/SAXException.hpp>
2002-06-21 13:16:28 +02:00
2007-09-05 11:49:18 +02:00
namespace Arabica
{
2002-06-21 13:16:28 +02:00
namespace SAX
{
/**
* Exception class for an unsupported operation.
*
* <p>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.</p>
*
* @since SAX 2.0
* @author Jez Higgins,
* <a href="mailto:jez@jezuk.co.uk">jez@jezuk.co.uk</a>
* @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
2007-09-05 11:49:18 +02:00
} // namespace Arabica
2002-06-21 13:16:28 +02:00
#endif
// end of file