UserRequiredResourceMissingException Class Reference

The exception to throw when a user needs a resouce during configuration which doesn't exist. More...

Inheritance diagram for UserRequiredResourceMissingException:

Public Member Functions

 UserRequiredResourceMissingException (const char *resourceName, const char *description) throw ()
 Constructor.
 
 UserRequiredResourceMissingException (const UserRequiredResourceMissingException &other) throw ()
 Copy constructor.
 
virtual ~UserRequiredResourceMissingException () throw ()
 Destructor.
 
const char * description () const throw ()
 Returns the error description.
 
UserRequiredResourceMissingExceptionoperator= (const UserRequiredResourceMissingException &other) throw ()
 Copy operator.
 
const char * resourceName () const throw ()
 Returns the name of the resource.
 
virtual const char * what () const throw ()
 Returns a C string describing the exception.
 

Detailed Description

The exception to throw when a user needs a resouce during configuration which doesn't exist.

Use this when a resource requested during the configuration phase is missing. The ConfigurationHelper::throwUserMissingResourceError() function provides a convenient way of throwing an exception of this type (see function description)

Definition at line 1504 of file configurationexceptions.h.

Constructor & Destructor Documentation

UserRequiredResourceMissingException ( const char *  resourceName,
const char *  description 
) throw ()
inline

Constructor.

Parameters
resourceNamethe name of the resource requested but not found. The buffer for this is at most 256 characters (including the '\0' terminator)
descriptiona description of the error. The buffer for this is at most 256 characters (including the '\0' terminator)

Definition at line 1517 of file configurationexceptions.h.

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 1533 of file configurationexceptions.h.

virtual ~UserRequiredResourceMissingException ( ) throw ()
inlinevirtual

Destructor.

Definition at line 1569 of file configurationexceptions.h.

Member Function Documentation

const char* description ( ) const throw ()
inline

Returns the error description.

Returns
the error description

Definition at line 1598 of file configurationexceptions.h.

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

Copy operator.

Parameters
otherthe exception to copy

Definition at line 1549 of file configurationexceptions.h.

const char* resourceName ( ) const throw ()
inline

Returns the name of the resource.

Returns
the name of the resource

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


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