Differences From Artifact [ba889780e2]:
- File
src/exceptions/OFInitializationFailedException.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: 1153) [annotate] [blame] [check-ins using]
To Artifact [a45044fb6a]:
- File src/exceptions/OFInitializationFailedException.m — part of check-in [cc5923d6bb] at 2017-06-04 23:41:38 on branch trunk — Add designated initializer to all exceptions (user: js, size: 1200) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + + | @implementation OFInitializationFailedException @synthesize inClass = _inClass; + (instancetype)exceptionWithClass: (Class)class { return [[[self alloc] initWithClass: class] autorelease]; } - init { return [self initWithClass: Nil]; } - initWithClass: (Class)class { self = [super init]; _inClass = class; |
︙ |