![]() |
Project
|
Error handling of the ALTRO Decoder. More...
#include <AltroDecoder.h>
Inherits std::exception.
Public Types | |
enum | ErrorType_t { kOK , RCU_TRAILER_ERROR , RCU_VERSION_ERROR , RCU_TRAILER_SIZE_ERROR , ALTRO_BUNCH_HEADER_ERROR , ALTRO_BUNCH_LENGTH_ERROR , ALTRO_PAYLOAD_ERROR , ALTRO_MAPPING_ERROR , CHANNEL_ERROR } |
Public Member Functions | |
AltroDecoderError (ErrorType_t errtype, const char *message) | |
Constructor. | |
~AltroDecoderError () noexcept override=default | |
Destructor. | |
const char * | what () const noexcept override |
Access to error message cnnected to the error. | |
ErrorType_t | getErrorType () const noexcept |
Access to the error type connected to the error. | |
Error handling of the ALTRO Decoder.
Definition at line 33 of file AltroDecoder.h.
Definition at line 36 of file AltroDecoder.h.
|
inline |
Constructor.
Defining error code and error message. To be called when the exception is thrown
Definition at line 52 of file AltroDecoder.h.
|
overridedefaultnoexcept |
Destructor.
|
inlinenoexcept |
Access to the error type connected to the error.
Definition at line 63 of file AltroDecoder.h.
|
inlineoverridenoexcept |
Access to error message cnnected to the error.
Definition at line 59 of file AltroDecoder.h.