lsst.pex.policy
19.0.0-2-g3b2f90d+4
|
Go to the documentation of this file.
32 #ifndef LSST_PEX_POLICY_PARSER_EXCEPTIONS_H
33 #define LSST_PEX_POLICY_PARSER_EXCEPTIONS_H
53 "Unspecified parsing error encountered") {}
74 out <<
"Policy Parsing Error:" << lineno <<
": " << msg <<
std::ends;
78 virtual char const*
getType()
const throw();
217 #endif // LSST_PEX_POLICY_PARSER_EXCEPTIONS_H
SyntaxError(POL_EARGS_TYPED, const std::string &msg)
Create an exception the exception with a given message.
definition of Policy-specific exceptions classes
SyntaxError(POL_EARGS_TYPED)
Create an exception the exception with a default message.
UnsupportedSyntax(POL_EARGS_TYPED, const std::string &msg)
Create an exception the exception with a given message.
an exception indicated that the stream being parsed ended prematurely.
virtual char const * getType() const
EOFError(POL_EARGS_TYPED)
Create an exception the exception with a default message.
ParserError(POL_EARGS_TYPED, const std::string &msg)
Create an exception the exception with a given message.
static std::string makeLocatedMessage(const std::string &msg, int lineno)
UnsupportedSyntax(POL_EARGS_TYPED)
Create an exception the exception with a default message.
virtual lsst::pex::exceptions::Exception * clone() const
SyntaxError(POL_EARGS_TYPED, const std::string &msg, int lineno)
Create an exception the exception with a given message.
EOFError(POL_EARGS_TYPED, const std::string &msg)
Create an exception the exception with a given message.
EOFError(POL_EARGS_TYPED, int lineno)
Create an exception the exception with a default message.
ParserError(POL_EARGS_TYPED, const std::string &msg, int lineno)
Create an exception the exception with a given message.
Exception(char const *file, int line, char const *func, std::string const &message)
an parent exception for errors that occur during the parsing of policy files.
EOFError(POL_EARGS_TYPED, const std::string &msg, int lineno)
Create an exception the exception with a given message.
virtual char const * getType() const
an exception thrown because a general syntax error was encountered.
an exception thrown because syntax was encountered that is legal for the format being parsed but whic...
#define POL_EARGS_UNTYPED
ParserError(POL_EARGS_TYPED)
Create an exception the exception with a default message.
virtual char const * getType() const
UnsupportedSyntax(POL_EARGS_TYPED, const std::string &msg, int lineno)
Create an exception the exception with a given message.
virtual char const * getType() const