sc::MemAllocFailed(3) Library Functions Manual sc::MemAllocFailed(3)

sc::MemAllocFailed - This is thrown when a memory allocation fails.

#include <scexception.h>

Inherits sc::SystemException.


MemAllocFailed (const char *description=0, const char *file=0, int line=0, size_t nbyte=0, const ClassDesc *class_desc=0, const char *exception_type='MemAllocFailed') throw ()
MemAllocFailed (const MemAllocFailed &) throw ()
size_t nbyte () const throw ()
Returns the number of bytes used in the failed allocation attempt.

Public Member Functions inherited from sc::SystemException
SystemException (const char *description=0, const char *file=0, int line=0, const ClassDesc *class_desc=0, const char *exception_type='SystemException') throw ()
SystemException (const SystemException &) throw ()

Public Member Functions inherited from sc::SCException
SCException (const char *description=0, const char *file=0, int line=0, const ClassDesc *class_desc=0, const char *exception_type='SCException') throw ()
SCException (const SCException &) throw ()
const char * what () const throw ()
Reimplementation of std::exception::what(). const char * description () const throw ()
const char * file () const throw ()
int line () const throw ()
const ClassDesc * class_desc () const throw ()
const char * exception_type () const throw ()
std::ostream & elaborate ()
Returns a stream where addition information about the exception can be written.

This is thrown when a memory allocation fails.

Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1 MPQC