crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Query::XPath::Exception Class Reference

Class for XPath exceptions. More...

#include <XPath.hpp>

Inheritance diagram for crawlservpp::Query::XPath::Exception:
Collaboration diagram for crawlservpp::Query::XPath::Exception:

Public Member Functions

 Exception (const std::string &description)
 

Getter

std::string_view view () const noexcept
 Gets the description of the exception as a view to the underlying string. More...
 

Detailed Description

Class for XPath exceptions.

Throws an exception when

  • an error occurs during compilation of the XPath expression.
  • no XPath expression has been compiled prior to the execution of the query
  • the given XML document has not been parsed
  • an error occurs during execution of the query.

Constructor & Destructor Documentation

◆ Exception()

crawlservpp::Query::XPath::Exception::Exception ( const std::string &  description)
inlineexplicit

Member Function Documentation

◆ view()


The documentation for this class was generated from the following file: