The exception thrown when a resource has different type from requested type. More...

Public Member Functions | |
ResourceTypeMismatchException (const char *resourceName, const char *typeName) throw () | |
Constructor. | |
ResourceTypeMismatchException (const ResourceTypeMismatchException &other) throw () | |
Copy constructor. | |
virtual | ~ResourceTypeMismatchException () throw () |
Destructor. | |
ResourceTypeMismatchException & | operator= (const ResourceTypeMismatchException &other) throw () |
Copy operator. | |
const char * | resourceName () const throw () |
Returns the name of the resource. | |
const char * | typeName () const throw () |
Returns the type name of the resource. | |
virtual const char * | what () const throw () |
Returns a C string describing the exception. | |
Detailed Description
The exception thrown when a resource has different type from requested type.
Definition at line 1373 of file configurationexceptions.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
resourceName the name of the resource. The buffer for this is at most 256 characters (including the '\0' terminator) typeName the name of the expected type of the resource. The buffer for this is at most 256 characters (including the '\0' terminator)
Definition at line 1386 of file configurationexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 1402 of file configurationexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 1438 of file configurationexceptions.h.
Member Function Documentation
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 1418 of file configurationexceptions.h.
|
inline |
Returns the name of the resource.
- Returns
- the name of the resource
Definition at line 1457 of file configurationexceptions.h.
|
inline |
Returns the type name of the resource.
- Returns
- the type name of the resource
Definition at line 1467 of file configurationexceptions.h.
|
inlinevirtual |
Returns a C string describing the exception.
- Returns
- a C string describing the exception
Definition at line 1447 of file configurationexceptions.h.
The documentation for this class was generated from the following file:
- configuration/include/configurationexceptions.h