lsst.pex.policy
14.0
|
an exception thrown because a general syntax error was encountered. More...
#include <parserexceptions.h>
Public Member Functions | |
SyntaxError (POL_EARGS_TYPED) | |
Create an exception the exception with a default message. More... | |
SyntaxError (POL_EARGS_TYPED, const std::string &msg) | |
Create an exception the exception with a given message. More... | |
SyntaxError (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 |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static std::string | makeLocatedMessage (const std::string &msg, int lineno) |
an exception thrown because a general syntax error was encountered.
Definition at line 136 of file parserexceptions.h.
|
inline |
Create an exception the exception with a default message.
Definition at line 142 of file parserexceptions.h.
|
inline |
Create an exception the exception with a given message.
msg | a message describing the problem. |
Definition at line 149 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 159 of file parserexceptions.h.
|
virtual |
Reimplemented from lsst::pex::policy::ParserError.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, and lsst::pex::policy::FormatSyntaxError.
|
virtual |
Reimplemented from lsst::pex::policy::ParserError.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, and lsst::pex::policy::FormatSyntaxError.