mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
|
#ifndef SAXNotRecognizedExceptionH
|
||
|
#define SAXNotRecognizedExceptionH
|
||
|
|
||
|
// SAXNotRecognizedException.h
|
||
|
// $Id$
|
||
|
|
||
|
|
||
|
#include <SAX/SAXException.h>
|
||
|
|
||
|
namespace SAX
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* Exception class for an unrecognized identifier.
|
||
|
*
|
||
|
* <p>An XMLReader will throw this exception when it finds an
|
||
|
* unrecognized feature or property identifier; SAX applications and
|
||
|
* extensions may use this class for other, 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 SAXNotSupportedException
|
||
|
*/
|
||
|
class SAXNotRecognizedException : public SAXException
|
||
|
{
|
||
|
public:
|
||
|
SAXNotRecognizedException(const std::string& message) :
|
||
|
SAXException(message)
|
||
|
{
|
||
|
} // SAXNotRecognizedException
|
||
|
|
||
|
SAXNotRecognizedException(const SAXNotRecognizedException& rhs) :
|
||
|
SAXException(rhs)
|
||
|
{
|
||
|
} // SAXNotRecognizedException
|
||
|
|
||
|
SAXNotRecognizedException& operator=(const SAXNotRecognizedException& rhs)
|
||
|
{
|
||
|
SAXException::operator =(rhs);
|
||
|
return *this;
|
||
|
} // operator=
|
||
|
|
||
|
virtual ~SAXNotRecognizedException() throw() { }
|
||
|
}; // class SAXNotRecognizedException
|
||
|
|
||
|
} // namespace SAX
|
||
|
|
||
|
#endif
|
||
|
// end of file
|