an exception thrown because a general syntax error was encountered.
More...
#include <parserexceptions.h>
an exception thrown because a general syntax error was encountered.
Definition at line 136 of file parserexceptions.h.
◆ SyntaxError() [1/3]
Create an exception the exception with a default message.
Definition at line 142 of file parserexceptions.h.
◆ SyntaxError() [2/3]
lsst::pex::policy::SyntaxError::SyntaxError |
( |
POL_EARGS_TYPED |
, |
|
|
const std::string & |
msg |
|
) |
| |
|
inline |
Create an exception the exception with a given message.
- Parameters
-
msg | a message describing the problem. |
Definition at line 149 of file parserexceptions.h.
◆ SyntaxError() [3/3]
lsst::pex::policy::SyntaxError::SyntaxError |
( |
POL_EARGS_TYPED |
, |
|
|
const std::string & |
msg, |
|
|
int |
lineno |
|
) |
| |
|
inline |
Create an exception the exception with a given message.
- Parameters
-
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.
◆ clone()
virtual lsst::pex::exceptions::Exception* lsst::pex::policy::SyntaxError::clone |
( |
| ) |
const |
|
virtual |
◆ getType()
virtual char const* lsst::pex::policy::SyntaxError::getType |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
◆ makeLocatedMessage()
static std::string lsst::pex::policy::ParserError::makeLocatedMessage |
( |
const std::string & |
msg, |
|
|
int |
lineno |
|
) |
| |
|
inlinestaticinherited |
The documentation for this class was generated from the following file: