rssoft  0.0.0
Reed-Solomon codes library with soft decision decoding
rssoft::RSSoft_Exception Class Reference

Generic exception class for Reed-Solomon Soft decision decoding library. More...

#include <RSSoft_Exception.h>

List of all members.

Public Member Functions

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

Protected Attributes

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

Private Member Functions

 RSSoft_Exception ()

Detailed Description

Generic exception class for Reed-Solomon Soft decision decoding library.


Constructor & Destructor Documentation

rssoft::RSSoft_Exception::RSSoft_Exception ( std::string  strError) [inline]

Public constructor

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

Default constructor is not meant to be used

                {};

Member Function Documentation

virtual const char* rssoft::RSSoft_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 rssoft::RSSoft_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