|
bpp-core
2.2.0
|
Number format exception. More...
#include <Bpp/Exceptions.h>
Inheritance diagram for bpp::NumberFormatException:
Collaboration diagram for bpp::NumberFormatException:Public Member Functions | |
| NumberFormatException (const char *text, const std::string &badNumber) | |
| Build a new NumberFormatException. More... | |
| NumberFormatException (const std::string &text, const std::string &badNumber) | |
| Build a new NumberFormatException. More... | |
| virtual | ~NumberFormatException () throw () |
| std::string | getBadNumber () const |
| Get the number that threw this exception. More... | |
| const char * | what () const throw () |
| Method to get the message of the exception (STL method redefinition). More... | |
Protected Attributes | |
| std::string | badNumber_ |
| std::string | message_ |
Number format exception.
Definition at line 257 of file Exceptions.h.
| NumberFormatException::NumberFormatException | ( | const char * | text, |
| const std::string & | badNumber | ||
| ) |
Build a new NumberFormatException.
| text | A message to be passed to the exception hierarchy. |
| badNumber | The faulty number. |
Definition at line 70 of file Exceptions.cpp.
| NumberFormatException::NumberFormatException | ( | const std::string & | text, |
| const std::string & | badNumber | ||
| ) |
Build a new NumberFormatException.
| text | A message to be passed to the exception hierarchy. |
| badNumber | The faulty number. |
Definition at line 74 of file Exceptions.cpp.
|
inlinevirtual | |||||||||||||
Definition at line 281 of file Exceptions.h.
|
inline |
Get the number that threw this exception.
Definition at line 290 of file Exceptions.h.
References badNumber_.
|
inlineinherited | |||||||||||||
Method to get the message of the exception (STL method redefinition).
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
|
protected |
Definition at line 261 of file Exceptions.h.
Referenced by getBadNumber().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().