![]() |
rssoft
0.0.0
Reed-Solomon codes library with soft decision decoding
|
Generic exception class for Reed-Solomon Soft decision decoding library. More...
#include <RSSoft_Exception.h>
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 () |
Generic exception class for Reed-Solomon Soft decision decoding library.
rssoft::RSSoft_Exception::RSSoft_Exception | ( | std::string | strError | ) | [inline] |
Public constructor
strError | Error message to be returned by the what() method |
: _error_msg(strError) {}
virtual rssoft::RSSoft_Exception::~RSSoft_Exception | ( | ) | throw () [inline, virtual] |
{}
rssoft::RSSoft_Exception::RSSoft_Exception | ( | ) | [inline, private] |
Default constructor is not meant to be used
{};
virtual const char* rssoft::RSSoft_Exception::what | ( | ) | const throw () [inline, virtual] |
Returns the reason for exception that was specified at exception construction time
{ return _error_msg.c_str(); }
std::string rssoft::RSSoft_Exception::_error_msg [protected] |
Error reason shown with what() method.