Mantid
|
Exception for errors associated with the instrument definition. More...
#include <Exception.h>
Public Member Functions | |
InstrumentDefinitionError (const InstrumentDefinitionError &A) | |
Copy constructor. More... | |
InstrumentDefinitionError (const std::string &) | |
Constructor. More... | |
InstrumentDefinitionError (const std::string &, std::string) | |
Constructor. More... | |
InstrumentDefinitionError & | operator= (const InstrumentDefinitionError &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 errors associated with the instrument definition.
This might e.g. occur while reading the instrument definition file.
Definition at line 220 of file Exception.h.
Mantid::Kernel::Exception::InstrumentDefinitionError::InstrumentDefinitionError | ( | const std::string & | Desc, |
std::string | ObjectName | ||
) |
Constructor.
Desc | :: Function description |
ObjectName | :: The name of the search object |
Definition at line 152 of file Exception.cpp.
References objectName, and outMessage.
Mantid::Kernel::Exception::InstrumentDefinitionError::InstrumentDefinitionError | ( | const std::string & | Desc | ) |
Constructor.
Desc | :: Function description |
Definition at line 161 of file Exception.cpp.
References outMessage.
Mantid::Kernel::Exception::InstrumentDefinitionError::InstrumentDefinitionError | ( | const InstrumentDefinitionError & | A | ) |
Copy constructor.
Definition at line 166 of file Exception.cpp.
InstrumentDefinitionError & Mantid::Kernel::Exception::InstrumentDefinitionError::operator= | ( | const InstrumentDefinitionError & | A | ) |
Assignment operator.
|
overridenoexcept |
Writes out the range and limits.
Definition at line 172 of file Exception.cpp.
References outMessage.
Referenced by Mantid::DataHandling::LoadMcStas::readEventData().
|
private |
The name of the search object.
Definition at line 223 of file Exception.h.
Referenced by InstrumentDefinitionError().
|
private |
The message returned by what()
Definition at line 225 of file Exception.h.
Referenced by InstrumentDefinitionError(), and what().