@@ -20,15 +20,10 @@ #import "OFString.h" @implementation OFWriteFailedException - (OFString *)description { - if (_errNo != 0) - return [OFString stringWithFormat: - @"Failed to write %zu bytes to an object of type %@: %@", - _requestedLength, [_object class], of_strerror(_errNo)]; - else - return [OFString stringWithFormat: - @"Failed to write %zu bytes to an object of type %@!", - _requestedLength, [_object class]]; + return [OFString stringWithFormat: + @"Failed to write %zu bytes to an object of type %@: %@", + _requestedLength, [_object class], of_strerror(_errNo)]; } @end