C++ Utilities  4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Public Member Functions | List of all members
ConversionUtilities::ConversionException Class Reference

The ConversionException class is thrown by the various conversion functions of this library when a conversion error occurs. More...

#include <conversionexception.h>

Inheritance diagram for ConversionUtilities::ConversionException:
[legend]
Collaboration diagram for ConversionUtilities::ConversionException:
[legend]

Public Member Functions

 ConversionException () USE_NOTHROW
 Constructs a new ConversionException. More...
 
 ConversionException (const std::string &what) USE_NOTHROW
 Constructs a new ConversionException. More...
 
 ConversionException (const char *what) USE_NOTHROW
 Constructs a new ConversionException. More...
 
 ~ConversionException () USE_NOTHROW
 Destroys the ConversionException. More...
 

Detailed Description

The ConversionException class is thrown by the various conversion functions of this library when a conversion error occurs.

Definition at line 11 of file conversionexception.h.

Constructor & Destructor Documentation

◆ ConversionException() [1/3]

ConversionUtilities::ConversionException::ConversionException ( )

Constructs a new ConversionException.

Definition at line 14 of file conversionexception.cpp.

◆ ConversionException() [2/3]

ConversionUtilities::ConversionException::ConversionException ( const std::string &  what)

Constructs a new ConversionException.

what is a std::string describing the cause of the ConversionException.

Definition at line 22 of file conversionexception.cpp.

◆ ConversionException() [3/3]

ConversionUtilities::ConversionException::ConversionException ( const char *  what)
inline

Constructs a new ConversionException.

what is a C-style string describing the cause of the ConversionException.

Definition at line 23 of file conversionexception.h.

◆ ~ConversionException()

ConversionUtilities::ConversionException::~ConversionException ( )

Destroys the ConversionException.

Definition at line 29 of file conversionexception.cpp.


The documentation for this class was generated from the following files: