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

An exception indicating that a HTTP request failed. More...

#import <OFHTTPRequestFailedException.h>

Inheritance diagram for OFHTTPRequestFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithClass:HTTPRequest:result:
(OFHTTPRequest *) - HTTPRequest
(OFHTTPRequestResult *) - result

Static Public Member Functions

(id) + exceptionWithClass:HTTPRequest:result:

Detailed Description

An exception indicating that a HTTP request failed.


Member Function Documentation

+ (id) exceptionWithClass: (Class)  class_
HTTPRequest: (OFHTTPRequest*)  request
result: (OFHTTPRequestResult*)  result 
Parameters:
class_The class of the object which caused the exception
requestThe HTTP request which failed
resultThe result of the failed HTTP request
Returns:
A new HTTP request failed exception
- (OFHTTPRequest*) HTTPRequest
Returns:
The HTTP request which failed
- (id) initWithClass: (Class)  class_
HTTPRequest: (OFHTTPRequest*)  request
result: (OFHTTPRequestResult*)  result 

Initializes an already allocated HTTP request failed exception

Parameters:
class_The class of the object which caused the exception
requestThe HTTP request which failed
resultThe result of the failed HTTP request
Returns:
A new HTTP request failed exception
- (OFHTTPRequestResult*) result
Returns:
The result of the failed HTTP request

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