Library: XML
Package: SAX
Header: Poco/SAX/SAXException.h
The base class for all SAX-related exceptions like SAXParseException, SAXNotRecognizedException or SAXNotSupportedException.
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 subclassed from it.
If the application needs to pass through other types of exceptions, it must wrap those exceptions in a SAXException or an exception derived from a SAXException.
If the parser or application needs to include information about a specific location in an XML document, it should use the SAXParseException subclass.
Direct Base Classes: SAXException
All Base Classes: Poco::Exception, Poco::RuntimeException, SAXException, XMLException, std::exception
Member Functions: className, clone, name, operator =, rethrow
Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what
SAXNotRecognizedException(
int code = 0
);
SAXNotRecognizedException(
const SAXNotRecognizedException & exc
);
SAXNotRecognizedException(
const std::string & msg,
int code = 0
);
SAXNotRecognizedException(
const std::string & msg,
const std::string & arg,
int code = 0
);
SAXNotRecognizedException(
const std::string & msg,
const Poco::Exception & exc,
int code = 0
);
const char * className() const;
See also: Poco::XML::SAXException::className()
Poco::Exception * clone() const;
const char * name() const;
See also: Poco::XML::SAXException::name()
SAXNotRecognizedException & operator = (
const SAXNotRecognizedException & exc
);
void rethrow() const;
See also: Poco::XML::SAXException::rethrow()