1 #ifndef CommonTools_Utils_Exception_h 2 #define CommonTools_Utils_Exception_h 24 #include "boost/spirit/include/classic_exceptions.hpp" 37 typedef boost::spirit::classic::parser_error<reco::parser::SyntaxErrors>
BaseException;
41 switch(e.descriptor) {
43 return "Missing close parenthesis.";
45 return "Syntax error.";
92 return operator<<(const_cast<Exception&>(
e), iT);
101 f(const_cast<Exception&>(e).
ost_);
109 f(const_cast<Exception&>(e).
ost_);
const char * what() const override
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
friend Exception & operator<<(Exception &, const T &)
const char * baseExceptionWhat(const BaseException &e)
returns the appropriate 'what' message for the exception
Exception(const char *iIterator)
Exception(const Exception &iOther)