Mantid
|
Error when two numbers should be identical (or close) More...
#include <Exception.h>
Public Member Functions | |
MisMatch (const MisMatch< T > &A) | |
Copy Constructor. More... | |
MisMatch (const T &, const T &, const std::string &) | |
Constructor store two mismatched items. More... | |
MisMatch< T > & | operator= (const MisMatch< T > &rhs)=delete |
const char * | what () const noexcept override |
Overloaded reporting method. More... | |
Private Attributes | |
const T | Aval |
Number A. More... | |
const T | Bval |
container size More... | |
std::string | m_message |
The message reported by what() More... | |
Error when two numbers should be identical (or close)
Records the object being looked for and the range required.
Definition at line 263 of file Exception.h.
Mantid::Kernel::Exception::MisMatch< T >::MisMatch | ( | const T & | A, |
const T & | B, | ||
const std::string & | Place | ||
) |
Constructor store two mismatched items.
A | :: Item to store |
B | :: Item to store |
Place | :: Reason/Code item for error |
Definition at line 206 of file Exception.cpp.
References Mantid::Kernel::Exception::MisMatch< T >::Aval, Mantid::Kernel::Exception::MisMatch< T >::Bval, and Mantid::Kernel::Exception::MisMatch< T >::m_message.
Mantid::Kernel::Exception::MisMatch< T >::MisMatch | ( | const MisMatch< T > & | A | ) |
|
delete |
|
overridenoexcept |
Overloaded reporting method.
Writes out the two mismatched items.
Definition at line 230 of file Exception.cpp.
|
private |
Number A.
Definition at line 265 of file Exception.h.
Referenced by Mantid::Kernel::Exception::MisMatch< T >::MisMatch().
|
private |
container size
Definition at line 266 of file Exception.h.
Referenced by Mantid::Kernel::Exception::MisMatch< T >::MisMatch().
|
private |
The message reported by what()
Definition at line 267 of file Exception.h.
Referenced by Mantid::Kernel::Exception::MisMatch< T >::MisMatch().