A no-throw exception handler functional object. More...
#include <exception_handler.hpp>
Public Types | |
typedef base_type::handler_type | handler_type |
Public Member Functions | |
nothrow_exception_handler (handler_type const &handler) | |
Initializing constructor. More... | |
void | operator() () const |
Exception launcher. More... | |
A no-throw exception handler functional object.
Acts similar to exception_handler
, but in case if the exception cannot be handled the exception is not propagated from the handler. Instead the user-defined functional object is called with no parameters.
typedef base_type::handler_type boost::nothrow_exception_handler< SequenceT, HandlerT >::handler_type |
|
inlineexplicit |
Initializing constructor.
Creates an exception handler with the specified function object that will receive the exception.
|
inline |
Exception launcher.
Rethrows the current exception in order to detect its type and pass it to the aggregated function object. If the type of the exception could not be detected, the user-defined handler is called with no arguments.
catch
statement. References boost::exception_handler< SequenceT, HandlerT >::operator()().