13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* file.
*/
#include "config.h"
#include <string.h>
#import "OFConditionBroadcastFailedException.h"
#import "OFString.h"
#import "OFCondition.h"
@implementation OFConditionBroadcastFailedException
@synthesize condition = _condition, errNo = _errNo;
+ (instancetype)exceptionWithCondition: (OFCondition *)condition
errNo: (int)errNo
{
return [[[self alloc] initWithCondition: condition
errNo: errNo] autorelease];
|
|
|
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* file.
*/
#include "config.h"
#include <string.h>
#import "OFBroadcastConditionFailedException.h"
#import "OFString.h"
#import "OFCondition.h"
@implementation OFBroadcastConditionFailedException
@synthesize condition = _condition, errNo = _errNo;
+ (instancetype)exceptionWithCondition: (OFCondition *)condition
errNo: (int)errNo
{
return [[[self alloc] initWithCondition: condition
errNo: errNo] autorelease];
|