![]() |
libtld 2.0.14
A library to determine the Top-Level Domain name of any Internet URI.
|
Exception thrown when querying for data of an invalid domain. More...
Public Member Functions | |
invalid_domain (const char *what_str="this tld object is not currently valid") | |
Initialize the invalid_domain exception. | |
This exception is raised when a certain set of functions are called in a tld_object which URI is not valid.
Instead of catching this error, you should call the is_valid() function before a function that may otherwise raise this exception and properly handle the case when it returns false.
|
inline |
This function initializes the invalid_domain exception with the specified what_str
parameter as the what() string.
[in] | what_str | A string representing the content of the what() string of the exception. |
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.