11#ifndef ALICEO2_PHOS_RAWDECODINGERROR_H
12#define ALICEO2_PHOS_RAWDECODINGERROR_H
57 const
char*
what() const noexcept
override
61 return "Page with requested index not found";
63 return "RDH of page cannot be decoded";
65 return "Payload of page cannot be decoded";
67 return "Access to header not belonging to requested superpage";
69 return "Access to payload not belonging to requested superpage";
71 return "Undefined error";
Error handling of the raw reader.
ErrorType_t getErrorType() const
Get the type identifier of the error handled with this exception.
const char * what() const noexcept override
Providing error message of the exception.
ErrorType_t
Codes for different error types.
@ HEADER_DECODING
Header cannot be decoded (format incorrect)
@ PAGE_NOTFOUND
Page was not found (page index outside range)
@ HEADER_INVALID
Header in memory not belonging to requested superpage.
@ PAYLOAD_DECODING
Payload cannot be decoded (format incorrect)
@ PAYLOAD_INVALID
Payload in memory not belonging to requested superpage.
~RawDecodingError() noexcept override=default
destructor
RawDecodingError(ErrorType_t errtype)
Constructor.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...