Jpp  17.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler Struct Reference

Exception handler for functional object. More...

#include <JFunctional.hh>

Inheritance diagram for JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler:
JTOOLS::JFunctional< JArgument_t, JResult_t >::JDefaultResult

Public Member Functions

 JExceptionHandler ()
 Default constructor. More...
 
virtual ~JExceptionHandler ()
 Virtual destructor. More...
 
virtual result_type action (const JException &error) const
 Implementation of exception handler. More...
 

Detailed Description

template<class JArgument_t = JNullType, class JResult_t = JNullType>
struct JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler

Exception handler for functional object.

Definition at line 131 of file JFunctional.hh.

Constructor & Destructor Documentation

template<class JArgument_t = JNullType, class JResult_t = JNullType>
JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler::JExceptionHandler ( )
inline

Default constructor.

Definition at line 136 of file JFunctional.hh.

137  {}
template<class JArgument_t = JNullType, class JResult_t = JNullType>
virtual JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler::~JExceptionHandler ( )
inlinevirtual

Virtual destructor.

Definition at line 143 of file JFunctional.hh.

144  {}

Member Function Documentation

template<class JArgument_t = JNullType, class JResult_t = JNullType>
virtual result_type JTOOLS::JFunctional< JArgument_t, JResult_t >::JExceptionHandler::action ( const JException error) const
inlinevirtual

Implementation of exception handler.

This implementation throws the exception.

Parameters
errorerror

Reimplemented in JTOOLS::JFunctional< JArgument_t, JResult_t >::JDefaultResult.

Definition at line 153 of file JFunctional.hh.

154  {
155  throw error;
156  }

The documentation for this struct was generated from the following file: