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

Class for URI exceptions. More...

#include <URI.hpp>

Inheritance diagram for crawlservpp::Parsing::URI::Exception:
Collaboration diagram for crawlservpp::Parsing::URI::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 URI exceptions.

This exception will be thrown when

  • no URI has been parsed while trying to retrieve data about it.
  • no domain has been specified or parsed, either while trying to retrieve a sub-URI or after an URI has been parsed
  • a parsed sub-URI is empty or does not start with a slash
  • no sub-URI has been parsed while trying to parse a URI
  • a reference could not be resolved while parsing a URI
  • URI normalization failed while parsing a URI
  • another error occured while parsing a URI
  • the conversion of a URI to a string failed

Constructor & Destructor Documentation

◆ Exception()

crawlservpp::Parsing::URI::Exception::Exception ( const std::string &  description)
inlineexplicit

Member Function Documentation

◆ view()


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