MADNESS
0.10.1
|
SafeMPI exception object. More...
#include <safempi.h>
Public Member Functions | |
Exception (const Exception &other) throw () | |
Exception (const int mpi_error) throw () | |
Exception (const int mpi_error, const int nstatuses, const int *indices, MPI_Status *const statuses) noexcept | |
virtual | ~Exception () throw () |
bool | can_elaborate () const noexcept |
const char * | elaborate () const noexcept |
Exception & | operator= (const Exception &other) |
virtual const char * | what () const throw () |
Private Attributes | |
char | mpi_error_string_ [MPI_MAX_ERROR_STRING] |
std::string | mpi_statuses_error_string_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Exception &e) |
SafeMPI exception object.
This exception is thrown whenever an MPI error occurs.
|
inline |
References MPI_Error_string(), mpi_error_string_, MPI_MAX_ERROR_STRING, MPI_SUCCESS, and strncpy().
|
inlinenoexcept |
|
inline |
References mpi_error_string_, MPI_MAX_ERROR_STRING, mpi_statuses_error_string_, and strncpy().
|
inlinevirtual |
|
inlinenoexcept |
References mpi_statuses_error_string_.
|
inlinenoexcept |
References mpi_statuses_error_string_.
References mpi_error_string_, MPI_MAX_ERROR_STRING, mpi_statuses_error_string_, and strncpy().
|
inlinevirtual |
References mpi_error_string_.
|
friend |
|
private |
Referenced by Exception(), operator=(), and what().
|
private |
Referenced by Exception(), can_elaborate(), elaborate(), and operator=().