#include <Pt/ConversionError.h>
Indicates a failed conversion. More...
Inherits runtime_error.
Public Member Functions | |
| ConversionError (const std::string &msg) | |
| Construct with error message. | |
| ConversionError (const char *msg) | |
| Construct with error message. | |
| ~ConversionError () throw () | |
| Destructor. | |
This exception is thrown, when conversions between types fail. For example, converting a string to an integer can fail if the string does not represent a number.