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. More... | |
ResourceTypeMismatchException (const ResourceTypeMismatchException &other) throw () | |
Copy constructor. More... | |
virtual | ~ResourceTypeMismatchException () throw () |
Destructor. More... | |
ResourceTypeMismatchException & | operator= (const ResourceTypeMismatchException &other) throw () |
Copy operator. More... | |
const char * | resourceName () const throw () |
Returns the name of the resource. More... | |
const char * | typeName () const throw () |
Returns the type name of the resource. More... | |
virtual const char * | what () const throw () |
Returns a C string describing the exception. More... | |
Detailed Description
The exception thrown when a resource has different type from requested type.
Definition at line 1475 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 1488 of file configurationexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 1504 of file configurationexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 1540 of file configurationexceptions.h.
Member Function Documentation
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 1520 of file configurationexceptions.h.
|
inline |
Returns the name of the resource.
- Returns
- the name of the resource
Definition at line 1559 of file configurationexceptions.h.
|
inline |
Returns the type name of the resource.
- Returns
- the type name of the resource
Definition at line 1569 of file configurationexceptions.h.
|
inlinevirtual |
Returns a C string describing the exception.
- Returns
- a C string describing the exception
Definition at line 1549 of file configurationexceptions.h.
The documentation for this class was generated from the following file:
- configuration/include/configurationexceptions.h