#include <Exception.hpp>
Public Member Functions | |
Exception (std::string message, std::string filename, const unsigned rLineNumber) | |
std::string | GetMessage () const |
Private Attributes | |
std::string | mMessage |
Definition at line 49 of file Exception.hpp.
Exception::Exception | ( | std::string | message, | |
std::string | filename, | |||
const unsigned | rLineNumber | |||
) |
Construct an exception with a message string.
message | the message |
filename | which source file threw the exception |
rLineNumber | which line number of the source file threw the exception |
Definition at line 34 of file Exception.cpp.
References mMessage.
std::string Exception::GetMessage | ( | ) | const |
Get the message associated with the exception
Definition at line 52 of file Exception.cpp.
References mMessage.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractCardiacProblem< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::Initialise().
std::string Exception::mMessage [private] |
Exception message
Definition at line 52 of file Exception.hpp.
Referenced by Exception(), and GetMessage().