|
bpp-core3
3.0.0
|
The parameter exception base class. More...
#include <Bpp/Numeric/ParameterExceptions.h>
Inheritance diagram for bpp::ParameterException:
Collaboration diagram for bpp::ParameterException:Public Member Functions | |
| ParameterException (const std::string &text, const Parameter *param) | |
| Build a new ParameterException object. More... | |
| ParameterException (const ParameterException &pe) | |
| ParameterException & | operator= (const ParameterException &pe) |
| virtual | ~ParameterException () |
| virtual const Parameter * | parameter () const |
| Get the parameter that threw the exception. 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 | |
| const Parameter * | parameter_ |
The parameter exception base class.
Definition at line 24 of file ParameterExceptions.h.
| ParameterException::ParameterException | ( | const std::string & | text, |
| const Parameter * | param | ||
| ) |
Build a new ParameterException object.
| text | A message to be passed to the exception hierarchy. |
| param | A const pointer toward the parameter that threw the exception. |
Definition at line 16 of file ParameterExceptions.cpp.
|
inline |
Definition at line 40 of file ParameterExceptions.h.
|
inlinevirtual |
Definition at line 51 of file ParameterExceptions.h.
References parameter().
|
noexceptinherited |
Access the message as a std::string.
Definition at line 79 of file Exceptions.cpp.
References bpp::Exception::message_.
|
inline |
Definition at line 44 of file ParameterExceptions.h.
References parameter_.
|
virtual |
Get the parameter that threw the exception.
Definition at line 20 of file ParameterExceptions.cpp.
References parameter_.
Referenced by ~ParameterException(), and bpp::ParameterNotFoundException::~ParameterNotFoundException().
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 78 of file Exceptions.cpp.
References bpp::Exception::message_.
|
private |
Definition at line 28 of file ParameterExceptions.h.
Referenced by operator=(), and parameter().