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

An exception indicating that accepting a connection failed. More...

#import <OFAcceptFailedException.h>

Inheritance diagram for OFAcceptFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:socket:

Detailed Description

An exception indicating that accepting a connection failed.


Member Function Documentation

- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 
Parameters:
class_The class of the object which caused the exception
socketThe socket which could not accept a connection
Returns:
A new accept failed exception
- (id) initWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 

Initializes an already allocated accept failed exception.

Parameters:
class_The class of the object which caused the exception
socketThe socket which could not accept a connection
Returns:
An initialized accept failed exception
- (OFTCPSocket*) socket
Returns:
The socket which could not accept a connection

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