Cross-Platform C++

ot::net
class UnknownHostException

#include "ot/net/UnknownHostException.h"

ot::io::IOException ot::Exception Thrown when attempting to connect to a network host name that cannot be resolved.




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

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.
 virtual String getLocalizedDescription() const
         Returns a localized description of the Exception type or, if a native language translation is unavailable, an empty string.

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

Constructor/Destructor Detail

UnknownHostException

 UnknownHostException(const String& message)
Constructs an UnknownHostException 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()

getLocalizedDescription

virtual String getLocalizedDescription() const
Returns a localized description of the Exception type or, if a native language translation is unavailable, an empty string. The base class implementation always returns an empty string.

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