Differences From Artifact [c720bc4acd]:
- File
src/exceptions/OFWriteFailedException.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1061) [annotate] [blame] [check-ins using]
To Artifact [e7b34fe947]:
- File
src/exceptions/OFWriteFailedException.m
— part of check-in
[4f36894ce7]
at
2017-06-05 17:36:28
on branch trunk
— Clean up exceptions a little
This removes several initializers that omitted the errNo. Removing those
forces to think about whether there is a meaningful errNo to set instead
of just omitting it. (user: js, size: 894) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
18 19 20 21 22 23 24 | #import "OFWriteFailedException.h" #import "OFString.h" @implementation OFWriteFailedException - (OFString *)description { | < | | | < < < < | 18 19 20 21 22 23 24 25 26 27 28 29 | #import "OFWriteFailedException.h" #import "OFString.h" @implementation OFWriteFailedException - (OFString *)description { return [OFString stringWithFormat: @"Failed to write %zu bytes to an object of type %@: %@", _requestedLength, [_object class], of_strerror(_errNo)]; } @end |