114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
Class c;
self = [super init];
if ((fp = fopen([path cString], [mode cString])) == NULL) {
c = isa;
[super dealloc];
@throw [OFOpenFileFailedException newWithClass: c
andPath: path
andMode: mode];
}
return self;
}
|
|
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
Class c;
self = [super init];
if ((fp = fopen([path cString], [mode cString])) == NULL) {
c = isa;
[super dealloc];
@throw [OFOpenFileFailedException newWithClass: c
andPath: path
andMode: mode];
}
return self;
}
|