#include <CTCPNoSuchService.h> classCTCPNoSuchService
{CTCPNoSuchService( const std::string& service, const std::string& Doing);
const std::string getService() ();
virtual const const char* ReasonText();
};
This exception class is thrown when the socket library detects an attempt to connect to a nonexistent service. This normally indicates a failure to lookup a named service in the local hosts service database (e.g. /etc/services).
CTCPNoSuchService( const std::string& service, const std::string& Doing);
Constructs the exception class. service
is the service string. and Doing
is a string that describes what the library was doing when
it threw the exception.
const std::string getService() ();
Returns the service string used to construct the object.
virtual const const char* ReasonText();
Returns a human readable string that describes why the exception was created/thrown.