bpp-core
2.2.0
|
Number exception: doubles. More...
#include <Bpp/Exceptions.h>
Public Member Functions | |
BadNumberException (const char *text, double badNumber) | |
Build a new BadNumberException. More... | |
BadNumberException (const std::string &text, double badNumber) | |
Build a new BadNumberException. More... | |
virtual | ~BadNumberException () throw () |
double | 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 | |
double | badNumber_ |
std::string | message_ |
Number exception: doubles.
Definition at line 216 of file Exceptions.h.
BadNumberException::BadNumberException | ( | const char * | text, |
double | badNumber | ||
) |
Build a new BadNumberException.
text | A message to be passed to the exception hierarchy. |
badNumber | The faulty number. |
Definition at line 60 of file Exceptions.cpp.
BadNumberException::BadNumberException | ( | const std::string & | text, |
double | badNumber | ||
) |
Build a new BadNumberException.
text | A message to be passed to the exception hierarchy. |
badNumber | The faulty number. |
Definition at line 64 of file Exceptions.cpp.
|
inlinevirtual |
Definition at line 240 of file Exceptions.h.
|
inline |
Get the number that threw this exception.
Definition at line 249 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 220 of file Exceptions.h.
Referenced by getBadNumber().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().