GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTdrDataParserException.h
Go to the documentation of this file.
1#ifndef TTDRDARAPARSEREXCEPTION_H
2#define TTDRDARAPARSEREXCEPTION_H
3/** \addtogroup Sorting
4 * @{
5 */
6
7/////////////////////////////////////////////////////////////////
8/////////////////////////////////////////////////////////////////
9
10#include <exception>
11#include <string>
12
13#include "TTdrDataParser.h"
14
15class TTdrDataParserException : public std::exception {
16public:
17 TTdrDataParserException(TTdrDataParser::EDataParserState state, int failedWord, bool multipleErrors);
18 ~TTdrDataParserException() override;
19
20 const char* what() const noexcept override;
21
22 int GetFailedWord() { return fFailedWord; }
25
26private:
30 std::string fMessage;
31};
32/*! @} */
33#endif
const char * what() const noexcept override
TTdrDataParserException(TTdrDataParser::EDataParserState state, int failedWord, bool multipleErrors)
TTdrDataParser::EDataParserState fParserState
TTdrDataParser::EDataParserState GetParserState()