|
pelib
2.0.0
|
#include <NoDecimalFloatException.hpp>
Public Member Functions | |
| NoDecimalFloatException (std::string message, float value) | |
| virtual | ~NoDecimalFloatException () throw () |
| virtual const char * | what () const throw () |
| const float | getValue () |
Protected Attributes | |
| std::string | message |
| float | value |
Exception fired when parsing an integer while a floating-point value was expected and strict mode parsing is enabled
Definition at line 29 of file NoDecimalFloatException.hpp.
| pelib::NoDecimalFloatException::NoDecimalFloatException | ( | std::string | message, |
| float | value | ||
| ) | [explicit] |
Constructor
| message | Human-readable message that explains the error |
| floating | point value parsed |
Definition at line 32 of file NoDecimalFloatException.cpp.
| pelib::NoDecimalFloatException::~NoDecimalFloatException | ( | ) | throw () [virtual] |
Destructor
Definition at line 37 of file NoDecimalFloatException.cpp.
Return the floating-point value that was parsed
Definition at line 50 of file NoDecimalFloatException.cpp.
| const char * pelib::NoDecimalFloatException::what | ( | ) | const throw () [virtual] |
Returns a mesasge that explain why the exception was thrown
Definition at line 40 of file NoDecimalFloatException.cpp.
std::string pelib::NoDecimalFloatException::message [protected] |
Human-readable message that explains the reason why the exception was thrown
Definition at line 52 of file NoDecimalFloatException.hpp.
float pelib::NoDecimalFloatException::value [protected] |
floating-point value that was parsed instead of an integer
Definition at line 55 of file NoDecimalFloatException.hpp.