The exception thrown when casting an ParameterSettable object to the requested type fails. More...
Public Member Functions | |
CannotConvertToTypeException (const char *className, const std::type_info &destTypeId) throw () | |
Constructor. | |
CannotConvertToTypeException (const CannotConvertToTypeException &other) throw () | |
Copy constructor. | |
virtual | ~CannotConvertToTypeException () throw () |
Destructor. | |
const char * | className () const throw () |
Returns the name of the class that couldn't be found. | |
const std::type_info & | destTypeName () const throw () |
Returns the type_info of the type to which the new object should have been converted. | |
CannotConvertToTypeException & | operator= (const CannotConvertToTypeException &other) throw () |
Copy operator. | |
virtual const char * | what () const throw () |
Returns a C string describing the exception. | |
Detailed Description
The exception thrown when casting an ParameterSettable object to the requested type fails.
Definition at line 150 of file configurationexceptions.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
className the name of the class that was requested destTypeID the type id of the type to which the new object should have been converted
Definition at line 160 of file configurationexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 179 of file configurationexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 213 of file configurationexceptions.h.
Member Function Documentation
|
inline |
Returns the name of the class that couldn't be found.
- Returns
- the name of the class that couldn't be found
Definition at line 232 of file configurationexceptions.h.
|
inline |
Returns the type_info of the type to which the new object should have been converted.
- Returns
- the type_info of the type to which the new object should have been converted
Definition at line 244 of file configurationexceptions.h.
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 194 of file configurationexceptions.h.
|
inlinevirtual |
Returns a C string describing the exception.
- Returns
- a C string describing the exception
Definition at line 222 of file configurationexceptions.h.
The documentation for this class was generated from the following file:
- configuration/include/configurationexceptions.h