5 #include "../MemoryID.h"
11 const std::string& errorMessage) :
18 const std::string& errorMessage)
21 ss <<
"Failed to call '" <<
function <<
"' on the memory name system.\n";
22 if (not errorMessage.empty())
24 ss <<
"\n" << errorMessage;
30 const std::string& errorMessage) :
39 ss <<
"Could not resolve the memory name '" <<
memoryID <<
"'."
40 <<
"\nMemory server for '" <<
memoryID <<
"' is not registered.";
41 if (not errorMessage.empty())
43 ss <<
"\n" << errorMessage;
49 const std::string& verb,
51 const std::string& errorMessage) :
59 const std::string& errorMessage)
62 ss <<
"Failed to " << verb <<
" memory server for '" <<
memoryID
63 <<
"' in the Memory Name System (MNS).";
64 if (not errorMessage.empty())
66 ss <<
"\n" << errorMessage;