MADNESS  version 0.9
Public Member Functions | Friends | List of all members
SafeMPI::Exception Class Reference

SafeMPI exception object. More...

#include <safempi.h>

Inheritance diagram for SafeMPI::Exception:
Inheritance graph
[legend]
Collaboration diagram for SafeMPI::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const int mpi_error) throw ()
 
 Exception (const Exception &other) throw ()
 
Exceptionoperator= (const Exception &other)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 

Friends

std::ostream & operator<< (std::ostream &os, const Exception &e)
 

Detailed Description

SafeMPI exception object.

This exception is thrown whenever an MPI error occurs.

Constructor & Destructor Documentation

SafeMPI::Exception::Exception ( const int  mpi_error)
throw (
)
inline
SafeMPI::Exception::Exception ( const Exception other)
throw (
)
inline

References MPI_MAX_ERROR_STRING, and strncpy().

virtual SafeMPI::Exception::~Exception ( )
throw (
)
inlinevirtual

Member Function Documentation

Exception& SafeMPI::Exception::operator= ( const Exception other)
inline

References MPI_MAX_ERROR_STRING, and strncpy().

virtual const char* SafeMPI::Exception::what ( ) const
throw (
)
inlinevirtual

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Exception e 
)
friend

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