Definition at line 15 of file TGRSIDataParserException.h.
Public Member Functions | |
TGRSIDataParserException (TGRSIDataParser::EDataParserState state, int failedWord, bool multipleErrors) | |
~TGRSIDataParserException () override | |
int | GetFailedWord () |
bool | GetMultipleErrors () |
TGRSIDataParser::EDataParserState | GetParserState () |
const char * | what () const noexcept override |
Private Attributes | |
int | fFailedWord |
std::string | fMessage |
bool | fMultipleErrors |
TGRSIDataParser::EDataParserState | fParserState |
#include <TGRSIDataParserException.h>
TGRSIDataParserException::TGRSIDataParserException | ( | TGRSIDataParser::EDataParserState | state, |
int | failedWord, | ||
bool | multipleErrors | ||
) |
default constructor for TGRSIDataParserException, stores the data parser state and the word the parser failed on and creates a message based on them that can be accessed via TGRSIDataParserException::what()
Definition at line 4 of file TGRSIDataParserException.cxx.
References fFailedWord, fMessage, fMultipleErrors, fParserState, TGRSIDataParser::kBadBank, TGRSIDataParser::kBadFooter, TGRSIDataParser::kBadHeader, TGRSIDataParser::kBadHighTS, TGRSIDataParser::kBadLowTS, TGRSIDataParser::kBadModuleType, TGRSIDataParser::kBadScalerHighTS, TGRSIDataParser::kBadScalerLowTS, TGRSIDataParser::kBadScalerType, TGRSIDataParser::kBadScalerValue, TGRSIDataParser::kBadTriggerId, TGRSIDataParser::kEndOfData, TGRSIDataParser::kFault, TGRSIDataParser::kGood, TGRSIDataParser::kMissingCfd, TGRSIDataParser::kMissingCharge, TGRSIDataParser::kMissingPsd, TGRSIDataParser::kMissingWords, TGRSIDataParser::kNotSingleCfd, TGRSIDataParser::kSecondHeader, TGRSIDataParser::kSizeMismatch, TGRSIDataParser::kUndefined, and TGRSIDataParser::kWrongNofWords.
|
override |
default destructor
Definition at line 81 of file TGRSIDataParserException.cxx.
|
inline |
Definition at line 22 of file TGRSIDataParserException.h.
References fFailedWord.
Referenced by TGRSIDataParser::ProcessGriffin(), and QueueEvents().
|
inline |
Definition at line 24 of file TGRSIDataParserException.h.
References fMultipleErrors.
|
inline |
Definition at line 23 of file TGRSIDataParserException.h.
References fParserState.
|
overridenoexcept |
return message string built in default constructor
Definition at line 86 of file TGRSIDataParserException.cxx.
References fMessage.
Referenced by TGRSIDataParser::ProcessGriffin().
|
private |
Definition at line 28 of file TGRSIDataParserException.h.
Referenced by GetFailedWord(), and TGRSIDataParserException().
|
private |
Definition at line 30 of file TGRSIDataParserException.h.
Referenced by TGRSIDataParserException(), and what().
|
private |
Definition at line 29 of file TGRSIDataParserException.h.
Referenced by GetMultipleErrors(), and TGRSIDataParserException().
|
private |
Definition at line 27 of file TGRSIDataParserException.h.
Referenced by GetParserState(), and TGRSIDataParserException().