An exception class for the XML parser.
More...
#include <xmlparser.hpp>
An exception class for the XML parser.
Definition at line 41 of file xmlparser.hpp.
◆ XMLParserException() [1/3]
libxcks::XMLParserException::XMLParserException |
( |
| ) |
|
|
noexcept |
◆ XMLParserException() [2/3]
◆ XMLParserException() [3/3]
libxcks::XMLParserException::XMLParserException |
( |
const std::string & |
msg | ) |
|
|
noexcept |
Constructor with a message.
- Parameters
-
[in] | msg | The message of the exception. |
Definition at line 99 of file xmlparser.cpp.
◆ ~XMLParserException()
libxcks::XMLParserException::~XMLParserException |
( |
| ) |
|
|
virtual |
◆ getMessage()
string libxcks::XMLParserException::getMessage |
( |
| ) |
const |
|
virtualnoexcept |
Returns the message.
Do the same as what().
- Returns
- The explanatory string.
Definition at line 136 of file xmlparser.cpp.
◆ operator=()
Copy assignment operator.
- Parameters
-
- Returns
- A reference on the instance.
Definition at line 83 of file xmlparser.cpp.
◆ setMessage()
void libxcks::XMLParserException::setMessage |
( |
const std::string & |
msg | ) |
|
|
virtualnoexcept |
Sets the message.
- Parameters
-
[in] | msg | The message of the exception. |
Definition at line 148 of file xmlparser.cpp.
◆ what()
string libxcks::XMLParserException::what |
( |
| ) |
const |
|
virtualnoexcept |
◆ message
std::string libxcks::XMLParserException::message |
|
protected |
The documentation for this class was generated from the following files: