limal::MemoryException Class Reference

MemoryException class declaration. More...

#include <Exception.hpp>

List of all members.

Public Member Functions

 MemoryException (const char *file, int line, const char *msg, int errorCode=::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, const Exception *otherException=0, int subClassId=::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID)
virtual ~MemoryException () throw ()
virtual const char * type () const
virtual MemoryExceptionclone () const
virtual void rethrow () const


Detailed Description

MemoryException class declaration.

A MemoryException happens during the allocation of memory. If you call malloc or new and the result is 0 you have to throw a MemoryException.


Constructor & Destructor Documentation

limal::MemoryException::MemoryException ( const char *  file,
int  line,
const char *  msg,
int  errorCode = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE,
const Exception *  otherException = 0,
int  subClassId = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID 
)

virtual limal::MemoryException::~MemoryException (  )  throw () [virtual]


Member Function Documentation

virtual const char* limal::MemoryException::type (  )  const [virtual]

virtual MemoryException* limal::MemoryException::clone (  )  const [virtual]

virtual void limal::MemoryException::rethrow (  )  const [virtual]


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

Generated on Sat Jun 7 10:55:30 2008 for limal by  doxygen 1.5.5