Miind
|
#include <libs/MPILib/include/utilities/ParallelException.hpp>
Public Member Functions | |
ParallelException (const char *message) | |
ParallelException (const std::string &message) | |
virtual | ~ParallelException () throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
std::string | msg_ |
Definition at line 28 of file ParallelException.hpp.
|
explicit |
Constructor for C-style string error messages.
message | C-style string error message. The string contents are copied upon construction Responsibility for deleting the char* lies with the caller. |
Definition at line 27 of file ParallelException.cpp.
References MPILib::utilities::MPIProxy_::getRank(), MPILib::utilities::MPIProxy_::getSize(), MPILib::utilities::MPIProxy(), and MPILib::utilities::Exception::msg_.
|
explicit |
Constructor for STL string class error messages.
message | The error message. |
Definition at line 37 of file ParallelException.cpp.
References MPILib::utilities::MPIProxy_::getRank(), MPILib::utilities::MPIProxy_::getSize(), MPILib::utilities::MPIProxy(), and MPILib::utilities::Exception::msg_.
|
virtual |
Destructor. Nothrow guarantee. Virtual to allow for subclassing.
Definition at line 47 of file ParallelException.cpp.
|
virtual |
Returns a pointer to the constant error message.
const
char*
. The underlying memory is in posession of the Exception
object. Callers must not attempt to free the memory. Reimplemented from MPILib::utilities::Exception.
Definition at line 50 of file ParallelException.cpp.
References MPILib::utilities::Exception::msg_.
|
protectedinherited |
Error message.
Definition at line 64 of file Exception.hpp.
Referenced by ParallelException(), what(), and MPILib::utilities::Exception::what().