GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TILLDataParserException.h
Go to the documentation of this file.
1#ifndef TILLDATAPARSEREXCEPTION_H
2#define TILLDATAPARSEREXCEPTION_H
3/** \addtogroup Sorting
4 * @{
5 */
6
7/////////////////////////////////////////////////////////////////
8/////////////////////////////////////////////////////////////////
9
10#include <exception>
11#include <string>
12
13#include "TILLDataParser.h"
14
15class TILLDataParserException : public std::exception {
16public:
17 TILLDataParserException(TILLDataParser::EDataParserState state, int failedWord, bool multipleErrors);
18 ~TILLDataParserException() 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
TILLDataParserException(TILLDataParser::EDataParserState state, int failedWord, bool multipleErrors)
TILLDataParser::EDataParserState GetParserState()
TILLDataParser::EDataParserState fParserState