| 
    Jpp
    master_rocky-37-gf0c5bc59d
    
   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 Member Functions | |
| virtual const char * | what () const override throw () | 
| Get error message.  More... | |
Static Private Member Functions | |
| static std::string | getDateAndTime () | 
| Get date and time [UTC].  More... | |
| static std::ostream & | getOstream () | 
| Get output stream for conversion of exception.  More... | |
Private Attributes | |
| result_type | defaultResult | 
| const std::string | buffer | 
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.
      
  | 
  inlinestaticinherited | 
Get date and time [UTC].
Definition at line 31 of file JException.hh.
      
  | 
  inlineoverridevirtualinherited | |||||||||||||
      
  | 
  inlinestaticinherited | 
Get output stream for conversion of exception.
Note that the ostream is emptied before use.
Definition at line 89 of file JException.hh.
      
  | 
  private | 
Definition at line 216 of file JFunctional.hh.
      
  | 
  privateinherited | 
Definition at line 99 of file JException.hh.