class Poco::TaskFailedNotification

This notification is posted by the TaskManager for every task that has failed with an exception.

#include <TaskNotification.h>

class TaskFailedNotification: public Poco::TaskNotification
{
public:
    // construction

    TaskFailedNotification(
        Task* pTask,
        const Exception& exc
        );

    // methods

    const Exception&
    reason() const;
};

Inherited Members

public:
    // typedefs

    typedef AutoPtr<Notification> Ptr;

    // methods

    void
    duplicate() const;

    void
    release() const;

    int
    referenceCount() const;

    virtual
    std::string
    name() const;

    Task*
    task() const;