An exception indicating that a connection could not be established.
More...
#import <OFConnectionFailedException.h>
List of all members.
Detailed Description
An exception indicating that a connection could not be established.
Member Function Documentation
- Returns:
- The errno from when the exception was created
- Returns:
- The host to which the connection failed
- (id) initWithClass: |
|
(Class) |
class_ |
socket: |
|
(OFTCPSocket*) |
socket |
host: |
|
(OFString*) |
host |
port: |
|
(uint16_t) |
port | |
|
|
| | |
Initializes an already allocated connection failed exception.
- Parameters:
-
| class_ | The class of the object which caused the exception |
| socket | The socket which could not connect |
| host | The host to which the connection failed |
| port | The port on the host to which the connection failed |
- Returns:
- An initialized connection failed exception
+ (id) newWithClass: |
|
(Class) |
class_ |
socket: |
|
(OFTCPSocket*) |
socket |
host: |
|
(OFString*) |
host |
port: |
|
(uint16_t) |
port | |
|
|
| | |
- Parameters:
-
| class_ | The class of the object which caused the exception |
| socket | The socket which could not connect |
| host | The host to which the connection failed |
| port | The port on the host to which the connection failed |
- Returns:
- A new connection failed exception
- Returns:
- The port on the host to which the connection failed
- Returns:
- The socket which could not connect
The documentation for this class was generated from the following files: