Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields  

clawsoft::AllocationFailedException Class Reference

#include <Exception.h>

Inheritance diagram for clawsoft::AllocationFailedException:

Inheritance graph
[legend]
Collaboration diagram for clawsoft::AllocationFailedException:

Collaboration graph
[legend]

Detailed Description

A call to malloc or any other memory allocation routine has just failed, it may be posible that you are running out of memory or that this process is trying to allocate the maximum allowable memory size in the current system, sorry.


Public Methods

 AllocationFailedException ()
 Default constructor.

const char * toString ()
 Displays the description of the exception.

const char * getClassName ()
 Returns the name of the current class.


Protected Methods

void setClassName (const char *n)
 Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging.


Protected Attributes

char * description
 Stores the exception's description as a string.


Constructor & Destructor Documentation

clawsoft::AllocationFailedException::AllocationFailedException  
 

Default constructor.


Member Function Documentation

const char * clawsoft::Object::getClassName   [inherited]
 

Returns the name of the current class.

void clawsoft::Object::setClassName const char *    n [protected, inherited]
 

Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging.

const char * clawsoft::Exception::toString   [inherited]
 

Displays the description of the exception.


Field Documentation

char* clawsoft::Exception::description [protected, inherited]
 

Stores the exception's description as a string.


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

Authors:

Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara

Powered by:

SourceForgeLogo