![]() |
ccsoft
0.0.0
Convolutional codes library with soft decision decoding
|
Generic exception class for Convolutional Codes Soft Decoding library. More...
#include <CCSoft_Exception.h>
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 () | |
Generic exception class for Convolutional Codes Soft Decoding library.
| ccsoft::CCSoft_Exception::CCSoft_Exception | ( | std::string | strError | ) | [inline] |
Public constructor
| strError | Error message to be returned by the what() method |
: _error_msg(strError) {}
| virtual ccsoft::CCSoft_Exception::~CCSoft_Exception | ( | ) | throw () [inline, virtual] |
{}
| ccsoft::CCSoft_Exception::CCSoft_Exception | ( | ) | [inline, private] |
Default constructor is not meant to be used
{};
| virtual const char* ccsoft::CCSoft_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 ccsoft::CCSoft_Exception::_error_msg [protected] |
Error reason shown with what() method.