C++ Utilities  4.9.0
Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
conversionexception.cpp
Go to the documentation of this file.
2 
3 namespace ConversionUtilities {
4 
14 ConversionException::ConversionException() USE_NOTHROW : runtime_error("unable to convert")
15 {
16 }
17 
22 ConversionException::ConversionException(const std::string &what) USE_NOTHROW : runtime_error(what)
23 {
24 }
25 
30 {
31 }
32 }
#define USE_NOTHROW
Marks a function as never throwing, under no circumstances.
Definition: global.h:97
ConversionException() USE_NOTHROW
Constructs a new ConversionException.
Contains several functions providing conversions between different data types.
~ConversionException() USE_NOTHROW
Destroys the ConversionException.