* errors and local errors) but is will be good to distinguish
* reading errors and transport errors.
*/
public Attachment uploadAttachment(String fileName, String contentType,
InputStream content) throws RedmineException, IOException {
final InputStream wrapper = new MarkedInputStream(content,
"uploadStream");
final String token;
try {
token = transport.upload(wrapper);
final Attachment result = AttachmentFactory.create();