@@ -82,11 +82,11 @@ { Class c; if ((self = [super init])) { if ((fp = fopen(path, mode)) == NULL) { - c = [self class]; + c = isa; [super free]; @throw [OFOpenFileFailedException newWithClass: c andPath: path andMode: mode]; } @@ -111,11 +111,11 @@ intoBuffer: (char*)buf { size_t ret; if ((ret = fread(buf, size, nitems, fp)) == 0 && !feof(fp)) - @throw [OFReadFailedException newWithClass: [self class] + @throw [OFReadFailedException newWithClass: isa andSize: size andNItems: nitems]; return ret; } @@ -134,11 +134,11 @@ { size_t ret; if ((ret = fwrite(buf, size, nitems, fp)) == 0 && size != 0 && nitems != 0) - @throw [OFWriteFailedException newWithClass: [self class] + @throw [OFWriteFailedException newWithClass: isa andSize: size andNItems: nitems]; return ret; }