ObjFW
Public Member Functions | Static Public Member Functions | Properties
OFAddressTranslationFailedException Class Reference

An exception indicating the translation of an address failed. More...

#include <OFAddressTranslationFailedException.h>

Inheritance diagram for OFAddressTranslationFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:socket:host: (Class class_,[socket] OFTCPSocket *socket,[host] OFString *host)
OFTCPSocketsocket ()
OFStringhost ()
int errNo ()

Static Public Member Functions

id newWithClass:socket:host: (Class class_,[socket] OFTCPSocket *socket,[host] OFString *host)

Properties

OFTCPSocketsocket
OFStringhost
int errNo

Detailed Description

An exception indicating the translation of an address failed.


Member Function Documentation

int OFAddressTranslationFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
OFString* OFAddressTranslationFailedException::host ( ) [virtual]

/return The host for which translation was requested

id OFAddressTranslationFailedException::initWithClass:socket:host: ( Class  class_,
[socket] OFTCPSocket socket,
[host] OFString host 
) [virtual]

Initializes an already allocated address translation failed exception.

Parameters:
class_The class of the object which caused the exception
socketThe socket which could not translate the address
hostThe host for which translation was requested
Returns:
An initialized address translation failed exception
id OFAddressTranslationFailedException::newWithClass:socket:host: ( Class  class_,
[socket] OFTCPSocket socket,
[host] OFString host 
) [static, virtual]
Parameters:
class_The class of the object which caused the exception
socketThe socket which could not translate the address
hostThe host for which translation was requested
Returns:
A new address translation failed exception
OFTCPSocket* OFAddressTranslationFailedException::socket ( ) [virtual]
Returns:
The socket which could not translate the address

The documentation for this class was generated from the following files:
 All Classes Functions Variables