class Poco::XML::EventException

Overview

Event operations may throw an EventException as specified in their method descriptions. More…

#include <EventException.h>

class EventException: public XMLException
{
public:
    // enums

    enum
    {
        UNSPECIFIED_EVENT_TYPE_ERR = 0,
    };

    // construction

    EventException(int code);
    EventException(const EventException& exc);

    // methods

    EventException&
    operator=(const EventException& exc);

    const char*
    name() const;

    const char*
    className() const;

    unsigned short
    code() const;

protected:
    // methods

    Poco::Exception*
    clone() const;
};

Detailed Documentation

Event operations may throw an EventException as specified in their method descriptions.

Enum Values

UNSPECIFIED_EVENT_TYPE_ERR

If the Event ‘s type was not specified by initializing the.

Construction

EventException(int code)

Creates an EventException with the given error code.

EventException(const EventException& exc)

Creates an EventException by copying another one.

Methods

const char*
name() const

Returns a static string describing the exception.

const char*
className() const

Returns the name of the exception class.

unsigned short
code() const

Returns the Event exception code.