wrench::FunctionalityNotAvailable

class FunctionalityNotAvailable : public wrench::FailureCause

A “requested functionality is not available on that service” failure cause.

Public Functions

std::string getFunctionalityName()

Get the name of the functionality that wasn’t available.

Returns:

a functionality name

std::shared_ptr<Service> getService()

Get the service on which the functionality was not available.

Returns:

a service

virtual std::string toString() override

Get the human-readable failure message.

Returns:

the message