limal
Public Member Functions | List of all members
limal::MemoryException Class Reference

MemoryException class declaration. More...

#include <Exception.hpp>

Inheritance diagram for limal::MemoryException:

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 MemoryException* limal::MemoryException::clone ( ) const
virtual
virtual void limal::MemoryException::rethrow ( ) const
virtual
virtual const char* limal::MemoryException::type ( ) const
virtual

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