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

clawsoft::NumberException Class Reference

#include <Exception.h>

Inheritance diagram for clawsoft::NumberException:

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

Collaboration graph
[legend]

Detailed Description

Throw this exception when expecting a number in an operation and and receiving something different.


Public Methods

 NumberException ()
 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::NumberException::NumberException  
 

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