an parent exception for errors that occur during the parsing of policy files.
More...
#include <parserexceptions.h>
an parent exception for errors that occur during the parsing of policy files.
Definition at line 46 of file parserexceptions.h.
Create an exception the exception with a default message.
Definition at line 52 of file parserexceptions.h.
lsst::pex::policy::ParserError::ParserError |
( |
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 61 of file parserexceptions.h.
lsst::pex::policy::ParserError::ParserError |
( |
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 72 of file parserexceptions.h.
virtual lsst::pex::exceptions::Exception* lsst::pex::policy::ParserError::clone |
( |
| ) |
const |
|
virtual |
virtual char const* lsst::pex::policy::ParserError::getType |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
static std::string lsst::pex::policy::ParserError::makeLocatedMessage |
( |
const std::string & |
msg, |
|
|
int |
lineno |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: