Jpp
15.0.4
the software that should make you happy
|
Exception handler for functional object using default result. More...
#include <JFunctional.hh>
Public Member Functions | |
JDefaultResult (const result_type value) | |
Constructor. More... | |
JDefaultResult (const JMATH::JZero &value) | |
Constructor. More... | |
virtual result_type | action (const JException &error) const override |
Implementation of exception handler. More... | |
Private Attributes | |
result_type | defaultResult |
Exception handler for functional object using default result.
Definition at line 163 of file JFunctional.hh.
|
inline |
Constructor.
value | default result in case of exception |
Definition at line 171 of file JFunctional.hh.
|
inline |
Constructor.
value | default result in case of exception |
Definition at line 182 of file JFunctional.hh.
|
inlineoverridevirtual |
Implementation of exception handler.
This implementation returns the default value.
error | error |
Reimplemented from JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler.
Definition at line 195 of file JFunctional.hh.
|
private |
Definition at line 201 of file JFunctional.hh.