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

clawsoft::ThreadNotRunningException Class Reference

#include <Exception.h>

Inheritance diagram for clawsoft::ThreadNotRunningException:

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

Collaboration graph
[legend]

Detailed Description

If you try to execute an operation that can only be placed over a running Thred and you're current thread is not running yet this is the exception that is going to be thrown.


Public Methods

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

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