Library: XML
Package: DOM
Header: Poco/DOM/EventException.h
Event operations may throw an EventException as specified in their method descriptions.
Direct Base Classes: XMLException
All Base Classes: Poco::Exception, Poco::RuntimeException, XMLException, std::exception
Member Functions: className, clone, code, name, operator =
Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what
UNSPECIFIED_EVENT_TYPE_ERR = 0
If the Event's type was not specified by initializing the event before the method was called. Specification of the Event's type as null or an empty string will also trigger this exception.
EventException(
int code
);
Creates an EventException with the given error code.
EventException(
const EventException & exc
);
Creates an EventException by copying another one.
~EventException();
Destroys the EventException.
const char * className() const;
Returns the name of the exception class.
See also: Poco::XML::XMLException::className()
unsigned short code() const;
Returns the Event exception code.
const char * name() const;
Returns a static string describing the exception.
See also: Poco::XML::XMLException::name()
EventException & operator = (
const EventException & exc
);
Poco::Exception * clone() const;