Differences From Artifact [057b189e49]:
- File
src/exceptions/OFHTTPRequestFailedException.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1595) [annotate] [blame] [check-ins using]
To Artifact [e70088b5fe]:
- File src/exceptions/OFHTTPRequestFailedException.m — part of check-in [4df6ab6bca] at 2017-05-13 16:56:44 on branch trunk — Fix compilation with GCC (user: js, size: 1652) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
#import "OFHTTPRequestFailedException.h"
#import "OFString.h"
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
@implementation OFHTTPRequestFailedException
@synthesize request = _request, response = _response;
+ (instancetype)exceptionWithRequest: (OFHTTPRequest *)request
response: (OFHTTPResponse *)response
{
return [[[self alloc] initWithRequest: request
response: response] autorelease];
}
| > > > > > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
#import "OFHTTPRequestFailedException.h"
#import "OFString.h"
#import "OFHTTPRequest.h"
#import "OFHTTPResponse.h"
@implementation OFHTTPRequestFailedException
@synthesize request = _request, response = _response;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithRequest: (OFHTTPRequest *)request
response: (OFHTTPResponse *)response
{
return [[[self alloc] initWithRequest: request
response: response] autorelease];
}
|
| ︙ | ︙ |