bpp-core
2.2.0
|
Exception thrown when a parameter is not found, for instance in a ParameterList. More...
#include <Bpp/Numeric/ParameterExceptions.h>
Public Member Functions | |
ParameterNotFoundException (const std::string &text, const std::string ¶m="") | |
Build a new ParameterNotFoundException object. More... | |
virtual | ~ParameterNotFoundException () throw () |
virtual std::string | getParameter () const |
Get the name of the parameter not found. More... | |
const char * | what () const throw () |
Method to get the message of the exception (STL method redefinition). More... | |
Protected Attributes | |
std::string | message_ |
Private Attributes | |
const std::string | parameter_ |
Exception thrown when a parameter is not found, for instance in a ParameterList.
Definition at line 135 of file ParameterExceptions.h.
ParameterNotFoundException::ParameterNotFoundException | ( | const std::string & | text, |
const std::string & | param = "" |
||
) |
Build a new ParameterNotFoundException object.
text | A message to be passed to the exception hierarchy. |
param | The name of the parameter not found. |
Definition at line 68 of file ParameterExceptions.cpp.
|
inlinevirtual |
Definition at line 150 of file ParameterExceptions.h.
|
virtual |
Get the name of the parameter not found.
Definition at line 72 of file ParameterExceptions.cpp.
References parameter_.
|
inlineinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().
|
private |
Definition at line 139 of file ParameterExceptions.h.
Referenced by getParameter().