Jpp
 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 129 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 134 of file JFunctional.hh.

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

Virtual destructor.

Definition at line 141 of file JFunctional.hh.

142  {}

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 151 of file JFunctional.hh.

152  {
153  throw error;
154  }

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