ccsoft  0.0.0
Convolutional codes library with soft decision decoding
ccsoft::CCSoft_Exception Class Reference

Generic exception class for Convolutional Codes Soft Decoding library. More...

#include <CCSoft_Exception.h>

List of all members.

Public Member Functions

 CCSoft_Exception (std::string strError)
virtual ~CCSoft_Exception () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string _error_msg
 Error reason shown with what() method.

Private Member Functions

 CCSoft_Exception ()

Detailed Description

Generic exception class for Convolutional Codes Soft Decoding library.


Constructor & Destructor Documentation

ccsoft::CCSoft_Exception::CCSoft_Exception ( std::string  strError) [inline]

Public constructor

Parameters:
strErrorError message to be returned by the what() method
                                             : _error_msg(strError)
        {}
virtual ccsoft::CCSoft_Exception::~CCSoft_Exception ( ) throw () [inline, virtual]
        {}

Default constructor is not meant to be used

        {};

Member Function Documentation

virtual const char* ccsoft::CCSoft_Exception::what ( ) const throw () [inline, virtual]

Returns the reason for exception that was specified at exception construction time

Returns:
Error message as std::string
        {
            return _error_msg.c_str();
        }

Member Data Documentation

std::string ccsoft::CCSoft_Exception::_error_msg [protected]

Error reason shown with what() method.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines