ConversionError Class Reference

#include <Pt/ConversionError.h>

Indicates a failed conversion. More...

Public Member Functions

 ConversionError (const std::string &msg)
 Construct with error message.
 ConversionError (const char *msg)
 Construct with error message.
 ~ConversionError () throw ()
 Destructor.

Detailed Description

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.