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

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

#import <OFAddressTranslationFailedException.h>

Inheritance diagram for OFAddressTranslationFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithClass:socket:host:
(OFTCPSocket *) - socket
(OFString *) - host
(int) - errNo

Static Public Member Functions

(id) + exceptionWithClass:socket:host:

Detailed Description

An exception indicating the translation of an address failed.


Member Function Documentation

- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket
host: (OFString*)  host 
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
- (OFString*) host

/return The host for which translation was requested

- (id) initWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket
host: (OFString*)  host 

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
- (OFTCPSocket*) socket
Returns:
The socket which could not translate the address

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