WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::NotAllowed Class Reference

A "operation not allowed" failure cause. More...

#include <NotAllowed.h>

Inheritance diagram for wrench::NotAllowed:
wrench::FailureCause

Public Member Functions

std::shared_ptr< ServicegetService ()
 Get the service that caused the error. More...
 
std::string toString () override
 Get the human-readable failure message. More...
 

Detailed Description

A "operation not allowed" failure cause.

Member Function Documentation

◆ getService()

std::shared_ptr< Service > wrench::NotAllowed::getService ( )

Get the service that caused the error.

Returns
the service

◆ toString()

std::string wrench::NotAllowed::toString ( )
overridevirtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files: