LAMA
lama::MPIException Class Reference

#include <MPIException.hpp>

Inheritance diagram for lama::MPIException:

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

Member Enumeration Documentation

Enumerator:
UNSUPPORTED_WARN 
UNSUPPORTED_ERROR 
UNSUPPORTED_IGNORE 
UNSUPPORTED_UNDEFINED 

Constructor & Destructor Documentation

lama::MPIException::MPIException ( const std::string &  message,
const int  mpiStatus 
)
lama::MPIException::~MPIException ( ) throw () [virtual]

Member Function Documentation

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().

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.

Returns:
the message of this Exception.

References lama::Exception::mMessage.


Field Documentation


The documentation for this class was generated from the following files: