@@ -16,17 +16,16 @@ #include "config.h" #import "OFWriteFailedException.h" #import "OFString.h" -#import "OFStream.h" #import "common.h" @implementation OFWriteFailedException - (OFString*)description { return [OFString stringWithFormat: - @"Failed to write %zu bytes in a stream of type %@! " ERRFMT, - _requestedLength, [_stream class], ERRPARAM]; + @"Failed to write %zu bytes to an object of type %@! " ERRFMT, + _requestedLength, [_object class], ERRPARAM]; } @end