MemoryError Class Reference
[PEARL.base]

Exception class related to the PEARL library that is used to signal out of memory situations. More...

#include <Error.h>

Inherits std::bad_alloc.

List of all members.

Public Member Functions

Get error message
virtual const char * what () const throw ()


Detailed Description

The class MemoryError provides an exception class related to the PEARL library. Memory errors are thrown whenever there is not enough memory available to fulfill a memory allocation request (unless you have registered a custom new handler after calling PEARL_init() or PEARL_mpi_init()).

Member Function Documentation

const char * what (  )  const throw () [virtual]

Returns a description of the error condition encountered.

Returns:
Error description


SCALASCA    Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre