| 1 | #cxx . . $ `<file>/conversion/conversionexception.h`/ifndef CONVERSION_UTILITIES_CONVERSIONEXCEPTION_H |
| 2 | #define CONVERSION_UTILITIES_CONVERSIONEXCEPTION_Hcxx . . $ `conversion/conversionexception.h:2:9`! |
| 3 | |
| 4 | #include "../global.h"cxx . . $ `<file>/global.h`/ |
| 5 | |
| 6 | #include <stdexcept> |
| 7 | #include <string> |
| 8 | |
| 9 | namespace CppUtilitiescxx . . $ CppUtilities/ { |
| 10 | |
| 11 | class CPP_UTILITIES_EXPORTcxx . . $ `global.h:11:9`! ConversionExceptioncxx . . $ CppUtilities/ConversionException# : public stdcxx . . $ std/::runtime_errorcxx . . $ std/runtime_error# { |
| 12 | public: |
| 13 | ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(ced63f7c635d850d).() noexcept; |
| 14 | ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(36024da72fa271e1).(const stdcxx . . $ std/::stringcxx . . $ std/string# &what) noexcept; |
| 15 | ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(aac1607cfe1c1740).(const char *what) noexcept; |
| 16 | ~cxx . . $ CppUtilities/ConversionException#`~ConversionException`(ced63f7c635d850d).ConversionExceptioncxx . . $ CppUtilities/ConversionException#() override; |
| 17 | }; |
| 18 | |
| 19 | /*! |
| 20 | * \class ConversionException |
| 21 | * \brief The ConversionException class is thrown by the various conversion |
| 22 | * functions of this library when a conversion error occurs. |
| 23 | */ |
| 24 | |
| 25 | /*! |
| 26 | * \brief Constructs a new ConversionException. |
| 27 | */ |
| 28 | inline ConversionExceptioncxx . . $ CppUtilities/ConversionException#::ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(ced63f7c635d850d).() noexcept |
| 29 | : runtime_errorcxx . . $ std/runtime_error#runtime_error(85c52e162fed56f9).("unable to convert") |
| 30 | { |
| 31 | } |
| 32 | |
| 33 | /*! |
| 34 | * \brief Constructs a new ConversionException. \a what is a std::string |
| 35 | * describing the cause of the ConversionException. |
| 36 | */ |
| 37 | inline ConversionExceptioncxx . . $ CppUtilities/ConversionException#::ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(36024da72fa271e1).(const stdcxx . . $ std/::stringcxx . . $ std/string# &what) noexcept |
| 38 | : runtime_errorcxx . . $ std/runtime_error#(what) |
| 39 | { |
| 40 | } |
| 41 | |
| 42 | /*! |
| 43 | * \brief Constructs a new ConversionException. \a what is a C-style string |
| 44 | * describing the cause of the ConversionException. |
| 45 | */ |
| 46 | inline ConversionExceptioncxx . . $ CppUtilities/ConversionException#::ConversionExceptioncxx . . $ CppUtilities/ConversionException#ConversionException(aac1607cfe1c1740).(const char *what) noexcept |
| 47 | : stdcxx . . $ std/::runtime_errorcxx . . $ std/runtime_error#(what) |
| 48 | { |
| 49 | } |
| 50 | |
| 51 | } // namespace CppUtilities |
| 52 | |
| 53 | #endif // CONVERSION_UTILITIES_CONVERSIONEXCEPTION_H |