Exception thrown while parsing a message definition file. More...
#include <MessageDefinitionParserException.h>
Public Member Functions | |
uint32_t | line () const |
Get the affected line. More... | |
MessageDefinitionParserException (const char *message, const std::string &path, uint32_t line) | |
Constructor. More... | |
const char * | path () const |
Get the path of the definition file. More... | |
Public Member Functions inherited from swarmio::Exception | |
Exception (const char *message) | |
Construct a new Exception. More... | |
const char * | what () const noexceptoverride |
Get the error message. More... | |
Private Attributes | |
uint32_t | _line |
Affected line number. More... | |
std::string | _path |
Path of the file. More... | |
Exception thrown while parsing a message definition file.
Definition at line 12 of file MessageDefinitionParserException.h.
|
inline |
Constructor.
message | Message |
path | Path |
line | Line |
Definition at line 37 of file MessageDefinitionParserException.h.
|
inline |
Get the affected line.
Definition at line 55 of file MessageDefinitionParserException.h.
|
inline |
Get the path of the definition file.
Definition at line 45 of file MessageDefinitionParserException.h.
|
private |
Affected line number.
Definition at line 26 of file MessageDefinitionParserException.h.
|
private |
Path of the file.
Definition at line 20 of file MessageDefinitionParserException.h.