Differences From Artifact [88173cbff8]:
- File
src/OFFile.m
— part of check-in
[d88aec8e95]
at
2008-12-09 17:36:44
on branch trunk
— Don't use - raise anymore, but @throw.
- raise was only because at first, exceptions were self-raising, but
this was later changed so they had to be risen manually. - rise was
introduced for that, but it would've been better to use @throw
directly. Thus, this change now. (user: js, size: 3282) [annotate] [blame] [check-ins using]
To Artifact [0b28d6c4b4]:
- File
src/OFFile.m
— part of check-in
[f48ee629e3]
at
2008-12-10 17:53:03
on branch trunk
— Always use [self alloc] in + new.
This way, derivated classes are not forced to always override + new. (user: js, size: 3280) [annotate] [blame] [check-ins using]
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - + | #import "OFFile.h" #import "OFExceptions.h" @implementation OFFile + newWithPath: (const char*)path andMode: (const char*)mode { |
︙ |