Mantid
|
Exception for when an item is already in a collection. More...
#include <Exception.h>
Public Member Functions | |
ExistsError (const ExistsError &A) | |
Copy constructor. More... | |
ExistsError (const std::string &, std::string) | |
Constructor. More... | |
ExistsError & | operator= (const ExistsError &A) |
Assignment operator. More... | |
const char * | what () const noexcept override |
Writes out the range and limits. More... | |
Private Attributes | |
const std::string | objectName |
The name of the search object. More... | |
std::string | outMessage |
The message returned by what() More... | |
Exception for when an item is already in a collection.
Definition at line 164 of file Exception.h.
Mantid::Kernel::Exception::ExistsError::ExistsError | ( | const std::string & | Desc, |
std::string | ObjectName | ||
) |
Constructor.
Desc | :: Function description |
ObjectName | :: The name of the search object |
Definition at line 114 of file Exception.cpp.
References objectName, and outMessage.
Mantid::Kernel::Exception::ExistsError::ExistsError | ( | const ExistsError & | A | ) |
Copy constructor.
Definition at line 120 of file Exception.cpp.
ExistsError & Mantid::Kernel::Exception::ExistsError::operator= | ( | const ExistsError & | A | ) |
Assignment operator.
|
overridenoexcept |
Writes out the range and limits.
Definition at line 125 of file Exception.cpp.
References outMessage.
|
private |
The name of the search object.
Definition at line 167 of file Exception.h.
Referenced by ExistsError().
|
private |
The message returned by what()
Definition at line 169 of file Exception.h.
Referenced by ExistsError(), and what().