bpp-core3
3.0.0
|
The base class exception for zero division error. More...
#include <Bpp/Exceptions.h>
Public Member Functions | |
ZeroDivisionException (std::string text) | |
Build a new ZeroDivisionException. More... | |
const char * | what () const noexcept override |
Method to get the message of the exception (STL method redefinition). More... | |
const std::string & | message () const noexcept |
Access the message as a std::string. More... | |
Private Attributes | |
std::string | message_ |
The base class exception for zero division error.
Definition at line 105 of file Exceptions.h.
bpp::ZeroDivisionException::ZeroDivisionException | ( | std::string | text | ) |
Build a new ZeroDivisionException.
text | A message to be passed to the exception hierarchy. |
Definition at line 129 of file Exceptions.cpp.
|
noexceptinherited |
Access the message as a std::string.
Definition at line 119 of file Exceptions.cpp.
References bpp::Exception::message_.
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 118 of file Exceptions.cpp.
References bpp::Exception::message_.
|
privateinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::Exception(), bpp::Exception::message(), and bpp::Exception::what().