wrench::InvalidDirectoryPath Class Reference

A "unknown mount point storage service" failure cause. More...

#include <InvalidDirectoryPath.h>

Inheritance diagram for wrench::InvalidDirectoryPath:
wrench::FailureCause

Public Member Functions

 InvalidDirectoryPath (std::shared_ptr< StorageService > storage_service, std::string invalid_path)
 Constructor. More...
 
std::string getInvalidPath ()
 Get the invalid path. More...
 
std::shared_ptr< StorageServicegetStorageService ()
 Get the storage service at which the path was invalid. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "unknown mount point storage service" failure cause.

Constructor & Destructor Documentation

◆ InvalidDirectoryPath()

wrench::InvalidDirectoryPath::InvalidDirectoryPath ( std::shared_ptr< StorageService storage_service,
std::string  invalid_path 
)

Constructor.

Parameters
storage_servicethe storage service at which the mount point was unknown
invalid_paththe invalid path

Member Function Documentation

◆ getInvalidPath()

std::string wrench::InvalidDirectoryPath::getInvalidPath ( )

Get the invalid path.

Returns
a path

◆ getStorageService()

std::shared_ptr< StorageService > wrench::InvalidDirectoryPath::getStorageService ( )

Get the storage service at which the path was invalid.

Returns
a storage service

◆ toString()

std::string wrench::InvalidDirectoryPath::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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