LAMA
|
#include <MPIException.hpp>
Public Types | |
enum | UnsupportedType { UNSUPPORTED_WARN, UNSUPPORTED_ERROR, UNSUPPORTED_IGNORE, UNSUPPORTED_UNDEFINED } |
Public Member Functions | |
MPIException (const std::string &message, const int mpiStatus) | |
virtual | ~MPIException () throw () |
virtual const char * | what () const throw () |
what() returns the message of this Exception. | |
Static Public Member Functions | |
static void | addCallStack (std::ostringstream &output) |
Method that prints the current call stack in an output stream. | |
static UnsupportedType | getUnsupportedSetting () |
This method returns the actual setting for how to deal with unsupported features. | |
Protected Member Functions | |
LAMA_LOG_DECL_STATIC_LOGGER (logger) | |
Protected Attributes | |
std::string | mMessage |
enum lama::Exception::UnsupportedType [inherited] |
lama::MPIException::MPIException | ( | const std::string & | message, |
const int | mpiStatus | ||
) |
References lama::Exception::mMessage.
lama::MPIException::~MPIException | ( | ) | throw () [virtual] |
void lama::Exception::addCallStack | ( | std::ostringstream & | output | ) | [static, inherited] |
Method that prints the current call stack in an output stream.
Very useful utility for identification of bugs, only supported for GNU compiler.
Referenced by lama::OpenShMemInterface::allocate(), lama::OpenShMemInterface::free(), and lama::OpenShMemInterface::syncronizeAll().
Exception::UnsupportedType lama::Exception::getUnsupportedSetting | ( | ) | [static, inherited] |
This method returns the actual setting for how to deal with unsupported features.
References lama::Exception::UNSUPPORTED_ERROR, lama::Exception::UNSUPPORTED_IGNORE, lama::Exception::UNSUPPORTED_UNDEFINED, lama::Exception::UNSUPPORTED_WARN, and lama::Exception::unsupportedSetting.
lama::Exception::LAMA_LOG_DECL_STATIC_LOGGER | ( | logger | ) | [protected, inherited] |
const char * lama::Exception::what | ( | ) | const throw () [virtual, inherited] |
what() returns the message of this Exception.
References lama::Exception::mMessage.
std::string lama::Exception::mMessage [protected, inherited] |
Referenced by lama::CUDAException::CUDAException(), MPIException(), and lama::Exception::what().