CannotConvertToTypeException Class Reference
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 151 of file configurationexceptions.h.
Constructor & Destructor Documentation
CannotConvertToTypeException | ( | const char * | className, |
const std::type_info & | destTypeId | ||
) | throw () [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 161 of file configurationexceptions.h.
CannotConvertToTypeException | ( | const CannotConvertToTypeException & | other | ) | throw () [inline] |
Copy constructor.
- Parameters:
-
other the exception to copy
Definition at line 180 of file configurationexceptions.h.
virtual ~CannotConvertToTypeException | ( | ) | throw () [inline, virtual] |
Destructor.
Definition at line 214 of file configurationexceptions.h.
Member Function Documentation
const char* className | ( | ) | const throw () [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 233 of file configurationexceptions.h.
const std::type_info& destTypeName | ( | ) | const throw () [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 245 of file configurationexceptions.h.
CannotConvertToTypeException& operator= | ( | const CannotConvertToTypeException & | other | ) | throw () [inline] |
Copy operator.
- Parameters:
-
other the exception to copy
Definition at line 195 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 223 of file configurationexceptions.h.
The documentation for this class was generated from the following file:
- configuration/include/configurationexceptions.h