bpp-core
2.2.0
|
The parameter exception base class. More...
#include <Bpp/Numeric/ParameterExceptions.h>
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 () throw () |
virtual const Parameter * | getParameter () const |
Get the parameter that threw the exception. 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 Parameter * | parameter_ |
The parameter exception base class.
Definition at line 59 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 51 of file ParameterExceptions.cpp.
|
inline |
Definition at line 75 of file ParameterExceptions.h.
|
inlinevirtual |
Definition at line 86 of file ParameterExceptions.h.
|
virtual |
Get the parameter that threw the exception.
Definition at line 55 of file ParameterExceptions.cpp.
References parameter_.
|
inline |
Definition at line 79 of file ParameterExceptions.h.
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 64 of file ParameterExceptions.h.
Referenced by getParameter(), and operator=().