an exception indicated that the stream being parsed ended prematurely.
More...
#include <parserexceptions.h>
an exception indicated that the stream being parsed ended prematurely.
Definition at line 90 of file parserexceptions.h.
◆ EOFError() [1/4]
Create an exception the exception with a default message.
Definition at line 96 of file parserexceptions.h.
◆ EOFError() [2/4]
lsst::pex::policy::EOFError::EOFError |
( |
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 105 of file parserexceptions.h.
◆ EOFError() [3/4]
Create an exception the exception with a default message.
- Parameters
-
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 114 of file parserexceptions.h.
◆ EOFError() [4/4]
lsst::pex::policy::EOFError::EOFError |
( |
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 126 of file parserexceptions.h.
◆ clone()
virtual lsst::pex::exceptions::Exception* lsst::pex::policy::EOFError::clone |
( |
| ) |
const |
|
virtual |
◆ getType()
virtual char const* lsst::pex::policy::EOFError::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: