|
Mantid
|
Records the filename, the description of failure and the line on which it happened. More...
#include <Exception.h>
Public Member Functions | |
| ParseError & | operator= (const ParseError &A) |
| Assignment operator. More... | |
| ParseError (const ParseError &A) | |
| Copy constructor. More... | |
| ParseError (const std::string &desc, const std::string &fileName, const int &lineNumber) | |
| Constructor. More... | |
| const char * | what () const noexcept override |
Public Member Functions inherited from Mantid::Kernel::Exception::FileError | |
| FileError (const FileError &A) | |
| Copy constructor. More... | |
| FileError (const std::string &Desc, std::string FName) | |
| Constructor. More... | |
| FileError & | operator= (const FileError &A) |
| Assignment operator. More... | |
| const char * | what () const noexcept override |
| Writes out the range and limits. More... | |
Private Attributes | |
| const int | m_lineNumber |
| Number of the line where the error occured. More... | |
| std::string | m_outMessage |
| The message returned by what() More... | |
Records the filename, the description of failure and the line on which it happened.
Definition at line 115 of file Exception.h.
| Mantid::Kernel::Exception::ParseError::ParseError | ( | const std::string & | desc, |
| const std::string & | fileName, | ||
| const int & | lineNumber | ||
| ) |
Constructor.
| desc | :: Error description |
| fileName | :: Filename where happened |
| lineNumber | :: Number of the line where error happened |
Definition at line 35 of file Exception.cpp.
References m_lineNumber, m_outMessage, and Mantid::Kernel::Exception::FileError::what().
| Mantid::Kernel::Exception::ParseError::ParseError | ( | const ParseError & | A | ) |
Copy constructor.
Definition at line 42 of file Exception.cpp.
| ParseError & Mantid::Kernel::Exception::ParseError::operator= | ( | const ParseError & | A | ) |
Assignment operator.
|
overridenoexcept |
Definition at line 44 of file Exception.cpp.
References m_outMessage.
|
private |
Number of the line where the error occured.
Definition at line 118 of file Exception.h.
Referenced by ParseError().
|
private |
The message returned by what()
Definition at line 120 of file Exception.h.
Referenced by ParseError(), and what().