bpp-core3
3.0.0
|
The base class exception for NULL pointer error. This exception may be thrown when an unexpected NULL pointer is found. More...
#include <Bpp/Exceptions.h>
Public Member Functions | |
NullPointerException (std::string text) | |
Build a new NullPointerException. 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... | |
The base class exception for NULL pointer error. This exception may be thrown when an unexpected NULL pointer is found.
Definition at line 56 of file Exceptions.h.
bpp::NullPointerException::NullPointerException | ( | std::string | text | ) |
Build a new NullPointerException.
text | A message to be passed to the exception hierarchy. |
Definition at line 85 of file Exceptions.cpp.
|
noexceptinherited |
Access the message as a std::string.
Definition at line 79 of file Exceptions.cpp.
References bpp::Exception::message_.
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 78 of file Exceptions.cpp.
References bpp::Exception::message_.