bpp-core
2.2.0
|
Number exception: integers. More...
#include <Bpp/Exceptions.h>
Public Member Functions | |
BadIntegerException (const char *text, int badInt) | |
Build a new BadIntegerException. More... | |
BadIntegerException (const std::string &text, int badInt) | |
Build a new BadIntegerException. More... | |
virtual | ~BadIntegerException () throw () |
int | getBadInteger () const |
Get the integer that threw this exception. More... | |
const char * | what () const throw () |
Method to get the message of the exception (STL method redefinition). More... | |
Protected Attributes | |
int | badInt_ |
std::string | message_ |
Number exception: integers.
Definition at line 175 of file Exceptions.h.
BadIntegerException::BadIntegerException | ( | const char * | text, |
int | badInt | ||
) |
Build a new BadIntegerException.
text | A message to be passed to the exception hierarchy. |
badInt | The faulty integer. |
Definition at line 50 of file Exceptions.cpp.
BadIntegerException::BadIntegerException | ( | const std::string & | text, |
int | badInt | ||
) |
Build a new BadIntegerException.
text | A message to be passed to the exception hierarchy. |
badInt | The faulty integer. |
Definition at line 54 of file Exceptions.cpp.
|
inlinevirtual |
Definition at line 199 of file Exceptions.h.
|
inline |
Get the integer that threw this exception.
Definition at line 208 of file Exceptions.h.
References badInt_.
|
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 179 of file Exceptions.h.
Referenced by getBadInteger().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().