senf::WrapException< BaseException > Class Template Reference

Wrapper for standard non-senf exceptions. More...

#include <senf/Utils/Exception.hh>

Inheritance diagram for senf::WrapException< BaseException >:

Public Types

typedef BaseException Base
 

Public Member Functions

 WrapException (BaseException const &base)
 
virtual ~WrapException () throw ()
 
virtual char const * what () const throw ()
 
- Public Member Functions inherited from senf::ExceptionMixin
std::string message () const
 get exception description More...
 
std::string backtrace () const
 Return backtrace (if available) More...
 
void append (std::string text)
 Extend exception description. More...
 

Additional Inherited Members

- Protected Member Functions inherited from senf::ExceptionMixin
 ExceptionMixin (std::string const &description="")
 Initialize exception with string. More...
 
- Protected Attributes inherited from senf::ExceptionMixin
std::string what_
 

Detailed Description

template<class BaseException>
class senf::WrapException< BaseException >

Wrapper for standard non-senf exceptions.

This class wraps an exception of type BaseException and adds functionality from senf::ExceptionMixin.

Definition at line 187 of file Exception.hh.

Member Typedef Documentation

◆ Base

template<class BaseException>
typedef BaseException senf::WrapException< BaseException >::Base

Definition at line 191 of file Exception.hh.

Constructor & Destructor Documentation

◆ WrapException()

template<class BaseException>
senf::WrapException< BaseException >::WrapException ( BaseException const &  base)

◆ ~WrapException()

template<class BaseException>
virtual senf::WrapException< BaseException >::~WrapException ( )
throw (
)
virtual

Member Function Documentation

◆ what()

template<class BaseException>
virtual char const* senf::WrapException< BaseException >::what ( ) const
throw (
)
virtual

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