Cross-Platform C++

ot::net
class NoRouteToHostException

#include "ot/net/NoRouteToHostException.h"

ot::net::SocketException ot::io::IOException ot::Exception Thrown when an error occurs while attempting to connect a socket to a remote IP address and port. This indicates that the remote IP address was either unreachable or that the request timed-out for another reason.




Constructor/Destructor Summary
NoRouteToHostException(const String& message)
         Constructs a NoRouteToHostException with a detail message.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

Methods inherited from class ot::Exception
getDescription, getLocalizedDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

NoRouteToHostException

 NoRouteToHostException(const String& message)
Constructs a NoRouteToHostException with a detail message.

Parameters:
message - the detail message.

Method Detail

getExceptionType

virtual String getExceptionType() const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements