|
lsst.pex.policy
tickets.DM-23835-gcf878a0e59
|
an parent exception for errors that occur during the parsing of policy files. More...
#include <parserexceptions.h>
Public Member Functions | |
| ParserError (POL_EARGS_TYPED) | |
| Create an exception the exception with a default message. More... | |
| ParserError (POL_EARGS_TYPED, const std::string &msg) | |
| Create an exception the exception with a given message. More... | |
| ParserError (POL_EARGS_TYPED, const std::string &msg, int lineno) | |
| Create an exception the exception with a given message. More... | |
| virtual char const * | getType () const throw () |
| virtual lsst::pex::exceptions::Exception * | clone () const |
| void | addMessage (char const *file, int line, char const *func, std::string const &message) |
| Traceback const & | getTraceback (void) const noexcept |
| virtual std::ostream & | addToStream (std::ostream &stream) const |
| virtual char const * | what (void) const noexcept |
| T | what (T... args) |
Static Public Member Functions | |
| static std::string | makeLocatedMessage (const std::string &msg, int lineno) |
an parent exception for errors that occur during the parsing of policy files.
Definition at line 46 of file parserexceptions.h.
|
inline |
Create an exception the exception with a default message.
Definition at line 51 of file parserexceptions.h.
|
inline |
Create an exception the exception with a given message.
| msg | a message describing the problem. |
Definition at line 59 of file parserexceptions.h.
|
inline |
Create an exception the exception with a given message.
| msg | a message describing the problem. |
| lineno | a line number in the file (or stream) being parsed where the problem occurred. The first line of the file is typically line 1. |
Definition at line 69 of file parserexceptions.h.
|
virtual |
Reimplemented from lsst::pex::exceptions::RuntimeError.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, lsst::pex::policy::FormatSyntaxError, lsst::pex::policy::SyntaxError, and lsst::pex::policy::EOFError.
|
virtual | |||||||||||||
Reimplemented from lsst::pex::exceptions::RuntimeError.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, lsst::pex::policy::FormatSyntaxError, lsst::pex::policy::SyntaxError, and lsst::pex::policy::EOFError.
|
inlinestatic |
Definition at line 72 of file parserexceptions.h.
1.8.16