20 :
std::runtime_error(Desc), fileName(
std::move(FName)) {
36 :
FileError(desc, fileName), m_lineNumber(lineNumber) {
67 :
std::runtime_error(Desc), objectName(
std::move(ObjectName)) {
80 outMessage = std::string(std::runtime_error::what()) +
" search object " + obName;
88 outMessage = std::string(std::runtime_error::what()) +
" search object " + obName;
96 outMessage = std::string(std::runtime_error::what()) +
" search object " + obName;
115 :
std::runtime_error(Desc), objectName(
std::move(ObjectName)) {
153 :
std::runtime_error(Desc), objectName(
std::move(ObjectName)) {
155 ". See http://www.mantidproject.org/IDF for IDF syntax.";
162 outMessage = std::string(std::runtime_error::what());
167 :
std::runtime_error(A), objectName(A.objectName) {}
182 :
std::runtime_error(Desc), objectName(
std::move(ObjectName)) {
190 outMessage = std::string(std::runtime_error::what());
207 :
std::runtime_error(Place), Aval(A), Bval(B)
215 std::stringstream cx;
216 cx << Place <<
" Item A!=B " <<
Aval <<
" " <<
Bval <<
" ";
222 :
std::runtime_error(A), Aval(A.Aval), Bval(A.Bval)
236 return m_message.c_str();
255 :
std::runtime_error(Place), Val(V), maxVal(B) {
256 std::stringstream cx;
257 cx <<
"IndexError: " << Place <<
" " <<
Val <<
" :: 0 <==> " <<
maxVal;
282 :
std::runtime_error(place),
283 outMessage(
"Attempt to dereference zero pointer (" + objectName +
") in function " + place) {}
297 std::stringstream cx;
298 cx <<
"InternetError: ";
327 m_message(
"Number of fitting parameters is different from original value of " +
std::
to_string(oldSize)) {}
333 :
std::exception(), m_message(
"Number of fitting parameters changed from " +
std::
to_string(oldSize) +
" to " +
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Exception for a call to an abstract class function.
std::string outMessage
The message returned by what()
const std::string objectName
The name of the search object.
AbsObjMethod(std::string)
Constructor.
const char * what() const noexcept override
Writes out the range and limits.
Exception for when an item is already in a collection.
std::string outMessage
The message returned by what()
const std::string objectName
The name of the search object.
ExistsError(const std::string &, std::string)
Constructor.
const char * what() const noexcept override
Writes out the range and limits.
Records the filename and the description of failure.
const std::string fileName
The name of the file relating to the error.
FileError(const std::string &Desc, std::string FName)
Constructor.
std::string outMessage
The message returned by what()
const char * what() const noexcept override
Writes out the range and limits.
FitSizeWarning(size_t oldSize)
Constructor.
const char * what() const noexcept override
Get the warning message.
Exception for index errors.
const char * what() const noexcept override
Overloaded reporting method.
const size_t Val
Actual value called.
const size_t maxVal
Maximum value.
IndexError(const size_t V, const size_t B, const std::string &Place)
Constructor.
std::string m_message
The message reported by what()
Exception for errors associated with the instrument definition.
const char * what() const noexcept override
Writes out the range and limits.
std::string outMessage
The message returned by what()
InstrumentDefinitionError(const std::string &, std::string)
Constructor.
const std::string objectName
The name of the search object.
const char * what() const noexcept override
Overloaded reporting method.
InternetError(const std::string &message, const int &errorCode=0)
Constructor.
const int & errorCode() const
Writes out the range and limits.
int m_errorCode
The message reported by what()
std::string outMessage
The message returned by what()
Error when two numbers should be identical (or close)
std::string m_message
The message reported by what()
const char * what() const noexcept override
Overloaded reporting method.
MisMatch(const T &, const T &, const std::string &)
Constructor store two mismatched items.
const T Bval
container size
Exception for when an item is not found in a collection.
const char * what() const noexcept override
Writes out the range and limits.
NotFoundError(const std::string &, std::string)
Constructor.
std::string outMessage
The message returned by what()
const std::string objectName
The name of the search object.
NotImplementedError(const std::string &)
Constructor.
const char * what() const noexcept override
Writes out the range and limits.
const char * what() const noexcept override
Overloaded reporting method.
const std::string outMessage
The message returned by what()
NullPointerException(const std::string &place, const std::string &objectName)
Constructor.
const char * what() const noexcept override
Writes out the range and limits.
std::string outMessage
The message returned by what()
const std::string objectName
The name of the search object.
OpenGLError(const std::string &, std::string)
Constructor.
Records the filename, the description of failure and the line on which it happened.
ParseError(const std::string &desc, const std::string &fileName, const int &lineNumber)
Constructor.
const int m_lineNumber
Number of the line where the error occured.
const char * what() const noexcept override
std::string m_outMessage
The message returned by what()
The exception classes used by Mantid.
std::string to_string(const wide_integer< Bits, Signed > &n)