ResourceNotUsableException Class Reference

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

List of all members.

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 1272 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 1282 of file configurationexceptions.h.

ResourceNotUsableException ( const ResourceNotUsableException other) throw () [inline]

Copy constructor.

Parameters:
otherthe exception to copy

Definition at line 1296 of file configurationexceptions.h.

virtual ~ResourceNotUsableException ( ) throw () [inline, virtual]

Destructor.

Definition at line 1328 of file configurationexceptions.h.


Member Function Documentation

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

Copy operator.

Parameters:
otherthe exception to copy

Definition at line 1310 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 1347 of file configurationexceptions.h.

virtual const char* what ( ) const throw () [inline, virtual]

Returns a C string describing the exception.

Returns:
a C string describing the exception

Definition at line 1337 of file configurationexceptions.h.


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