Jpp
18.2.1-ARCA-DF-PATCH
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... | |
result_type | action () const |
Implementation of exception handler. More... | |
Private Attributes | |
result_type | defaultResult |
Exception handler for functional object using default result.
Definition at line 178 of file JFunctional.hh.
|
inline |
Constructor.
value | default result in case of exception |
Definition at line 186 of file JFunctional.hh.
|
inline |
Constructor.
value | default result in case of exception |
Definition at line 197 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 210 of file JFunctional.hh.
|
inlineinherited |
Implementation of exception handler.
This implementation throws the exception.
Definition at line 155 of file JFunctional.hh.
|
private |
Definition at line 216 of file JFunctional.hh.