Skip to content
Snippets Groups Projects
Commit b7982a3a authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Rename ArmemError to ArMemError

parent b51ec1cb
No related branches found
No related tags found
1 merge request!89Implement core data structure of ArMem Memories
......@@ -19,14 +19,14 @@ namespace armarx::armem::error
{
ArmemError::ArmemError(const std::string& msg) : std::runtime_error(msg)
ArMemError::ArMemError(const std::string& msg) : std::runtime_error(msg)
{
}
StorageNameMismatch::StorageNameMismatch(const std::string& expectedName,
const std::string& ownTerm, const std::string& storageName) :
ArmemError(makeMsg(expectedName, ownTerm, storageName))
ArMemError(makeMsg(expectedName, ownTerm, storageName))
{}
std::string StorageNameMismatch::makeMsg(
......@@ -39,7 +39,7 @@ namespace armarx::armem::error
StorageEntryAlreadyExists::StorageEntryAlreadyExists(const std::string& existingTerm, const std::string& existingName, const std::string& ownTerm, const std::string& ownName) :
ArmemError(makeMsg(existingTerm, existingName, ownTerm, ownName))
ArMemError(makeMsg(existingTerm, existingName, ownTerm, ownName))
{
}
......@@ -54,7 +54,7 @@ namespace armarx::armem::error
MissingEntry::MissingEntry(const std::string& missingTerm, const std::string& missingName,
const std::string& ownTerm, const std::string& ownName) :
ArmemError(makeMsg(missingTerm, missingName, ownTerm, ownName))
ArMemError(makeMsg(missingTerm, missingName, ownTerm, ownName))
{
}
......@@ -70,7 +70,7 @@ namespace armarx::armem::error
ParseIntError::ParseIntError(std::string string, std::string semanticName) :
ArmemError(makeMsg(string, semanticName))
ArMemError(makeMsg(string, semanticName))
{
}
......
......@@ -9,11 +9,11 @@ namespace armarx::armem::error
/**
* @brief Base class for all exceptions thrown by the armem library.
*/
class ArmemError : public std::runtime_error
class ArMemError : public std::runtime_error
{
public:
ArmemError(const std::string& msg);
ArMemError(const std::string& msg);
};
......@@ -21,7 +21,7 @@ namespace armarx::armem::error
/**
* @brief Indicates that a name in a given ID does not match a storage's own name.
*/
class StorageNameMismatch : public ArmemError
class StorageNameMismatch : public ArMemError
{
public:
......@@ -37,7 +37,7 @@ namespace armarx::armem::error
/**
* @brief Indicates that a name in a given ID does not match a storage's own name.
*/
class StorageEntryAlreadyExists : public ArmemError
class StorageEntryAlreadyExists : public ArMemError
{
public:
......@@ -53,7 +53,7 @@ namespace armarx::armem::error
/**
* @brief Indicates that a storage did not have an entry under a given name.
*/
class MissingEntry : public ArmemError
class MissingEntry : public ArMemError
{
public:
MissingEntry(const std::string& missingTerm, const std::string& missingName,
......@@ -67,7 +67,7 @@ namespace armarx::armem::error
/**
* @brief Indicates that a storage did not have an entry under a given name.
*/
class ParseIntError : public ArmemError
class ParseIntError : public ArMemError
{
public:
ParseIntError(std::string string, std::string semanticName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment