Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
761 B

7 years ago
#include "conversionexception.h"
namespace ConversionUtilities {
/*!
* \class ConversionUtilities::ConversionException
* \brief The ConversionException class is thrown by the various conversion
* functions of this library when a conversion error occurs.
7 years ago
*/
/*!
* Constructs a new ConversionException.
*/
ConversionException::ConversionException() USE_NOTHROW :
runtime_error("unable to convert")
{}
/*!
* Constructs a new ConversionException. \a what is a std::string
* describing the cause of the ConversionException.
*/
ConversionException::ConversionException(const std::string &what) USE_NOTHROW :
runtime_error(what)
{}
/*!
* Destroys the ConversionException.
*/
ConversionException::~ConversionException() USE_NOTHROW
{}
}