Mantid
|
Exception for when an item is not found in a collection. More...
#include <Exception.h>
Public Member Functions | |
NotFoundError (const NotFoundError &A) | |
Copy constructor. More... | |
NotFoundError (const std::string &, const int &) | |
Constructor. More... | |
NotFoundError (const std::string &, const int64_t &) | |
NotFoundError (const std::string &, const std::size_t &) | |
NotFoundError (const std::string &, std::string) | |
Constructor. More... | |
NotFoundError & | operator= (const NotFoundError &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 not found in a collection.
Definition at line 145 of file Exception.h.
Mantid::Kernel::Exception::NotFoundError::NotFoundError | ( | const std::string & | Desc, |
std::string | ObjectName | ||
) |
Constructor.
Desc | :: Function description |
ObjectName | :: The name of the search object |
Definition at line 66 of file Exception.cpp.
References objectName, and outMessage.
Mantid::Kernel::Exception::NotFoundError::NotFoundError | ( | const std::string & | Desc, |
const int & | ObjectNum | ||
) |
Constructor.
Desc | :: Function description |
ObjectNum | :: The integer search object |
Definition at line 75 of file Exception.cpp.
References outMessage.
Mantid::Kernel::Exception::NotFoundError::NotFoundError | ( | const std::string & | Desc, |
const int64_t & | ObjectNum | ||
) |
Definition at line 83 of file Exception.cpp.
References outMessage.
Mantid::Kernel::Exception::NotFoundError::NotFoundError | ( | const std::string & | Desc, |
const std::size_t & | ObjectNum | ||
) |
Definition at line 91 of file Exception.cpp.
References outMessage.
Mantid::Kernel::Exception::NotFoundError::NotFoundError | ( | const NotFoundError & | A | ) |
Copy constructor.
Definition at line 100 of file Exception.cpp.
NotFoundError & Mantid::Kernel::Exception::NotFoundError::operator= | ( | const NotFoundError & | A | ) |
Assignment operator.
|
overridenoexcept |
Writes out the range and limits.
Definition at line 105 of file Exception.cpp.
References outMessage.
Referenced by Mantid::DataObjects::TableWorkspace::addColumn(), Mantid::Algorithms::NormaliseToMonitor::checkProperties(), Mantid::API::FrameworkManagerImpl::deleteWorkspace(), MantidQt::API::BatchAlgorithmRunner::executeAlgo(), MantidQt::MantidWidgets::MuonFitPropertyBrowser::finishAfterSimultaneousFit(), MantidQt::MantidWidgets::MuonFitPropertyBrowser::finishAfterTFSimultaneousFit(), Mantid::API::FileFinderImpl::getInstrument(), and Mantid::Algorithms::RenameWorkspace::processGroups().
|
private |
The name of the search object.
Definition at line 148 of file Exception.h.
Referenced by NotFoundError().
|
private |
The message returned by what()
Definition at line 150 of file Exception.h.
Referenced by NotFoundError(), and what().