#include <xpath_exception.h>
Public Member Functions | |
XPathException (const std::string &message) | |
XPathException (const std::string &message, const std::string &expression) | |
XPathException (const std::string &message, const std::string &expression, const XPathToken &cur_token) | |
~XPathException () noexcept | |
std::string | get_message () const |
![]() | |
Exception (const std::string &message) | |
Constructs an exception object. More... | |
virtual | ~Exception () noexcept |
Destructs an exception object. More... | |
std::string | get_message_and_stack_trace () const |
Returns the message and call stack present when the exception object was created, formatted using newlines. More... | |
std::vector< std::string > | get_stack_trace () const |
Returns the call stack present when the exception object was created. More... | |
virtual const char * | what () const override throw () |
Returns description of exception. More... | |
Public Attributes | |
std::string::size_type | error_position |
std::string | expression |
![]() | |
std::string | message |
Description of exception. More... | |
|
inline |
clan::XPathException::XPathException | ( | const std::string & | message, |
const std::string & | expression | ||
) |
clan::XPathException::XPathException | ( | const std::string & | message, |
const std::string & | expression, | ||
const XPathToken & | cur_token | ||
) |
|
inlinenoexcept |
std::string clan::XPathException::get_message | ( | ) | const |
std::string::size_type clan::XPathException::error_position |
std::string clan::XPathException::expression |