| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
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.
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
Return the fully-specified C++ type of a pointer to the exception.
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
Return a copy of the exception as an Exception pointer.
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.
A base class for image defects.
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.
definition of Policy-specific exceptions classes
virtual char const  * getType() const
Return the fully-specified C++ type of a pointer to the exception.
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
Exception(char const *file, int line, char const *func, std::string const &message)
Standard constructor, intended for C++ use via the LSST_EXCEPT() macro.
ParserError(POL_EARGS_TYPED)
Create an exception the exception with a default message.
virtual char const  * getType() const
Return the fully-specified C++ type of a pointer to the exception.
UnsupportedSyntax(POL_EARGS_TYPED, const std::string &msg, int lineno)
Create an exception the exception with a given message.
Reports errors that are due to events beyond the control of the program.
virtual char const  * getType() const
Return the fully-specified C++ type of a pointer to the exception.