ResourceNotUsableException Class Reference

The exception thrown when requesting a resource that hasn't been declared as usable. More...

Inheritance diagram for ResourceNotUsableException:

Public Member Functions

 ResourceNotUsableException (const char *resourceName) throw ()
 Constructor.
 
 ResourceNotUsableException (const ResourceNotUsableException &other) throw ()
 Copy constructor.
 
virtual ~ResourceNotUsableException () throw ()
 Destructor.
 
ResourceNotUsableExceptionoperator= (const ResourceNotUsableException &other) throw ()
 Copy operator.
 
const char * resourceName () const throw ()
 Returns the name of the resource not declared as usable.
 
virtual const char * what () const throw ()
 Returns a C string describing the exception.
 

Detailed Description

The exception thrown when requesting a resource that hasn't been declared as usable.

This is thrown by ConcurrentResourcesUser::getResource() when tring to get a resource that was not in the list of resources that the object can use

Definition at line 1271 of file configurationexceptions.h.

Constructor & Destructor Documentation

ResourceNotUsableException ( const char *  resourceName) throw ()
inline

Constructor.

Parameters
resourceNamethe name of the resource not usable. The buffer for this is at most 256 characters (including the '\0' terminator)

Definition at line 1281 of file configurationexceptions.h.

ResourceNotUsableException ( const ResourceNotUsableException other) throw ()
inline

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 1295 of file configurationexceptions.h.

virtual ~ResourceNotUsableException ( ) throw ()
inlinevirtual

Destructor.

Definition at line 1327 of file configurationexceptions.h.

Member Function Documentation

ResourceNotUsableException& operator= ( const ResourceNotUsableException other) throw ()
inline

Copy operator.

Parameters
otherthe exception to copy

Definition at line 1309 of file configurationexceptions.h.

const char* resourceName ( ) const throw ()
inline

Returns the name of the resource not declared as usable.

Returns
the name of the resource not declared as usable

Definition at line 1346 of file configurationexceptions.h.

virtual const char* what ( ) const throw ()
inlinevirtual

Returns a C string describing the exception.

Returns
a C string describing the exception

Definition at line 1336 of file configurationexceptions.h.


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