Open GoogleCodeExporter opened 8 years ago
What you've described seems to be the behavior that's documented ... I believe
that if the attachment isn't found, the getAttachmentResponse() should return a
Response object with a 404 status code. So here's a snippet of code I'd use to
test this:
Response response = getAttachment(docId, attachmentId);
if(response.isOk()) {
...
} else {
System.out.println(response.getCode);
response.destroy();
}
I'll take a look at the code, but to me it sounds like the Exception shouldn't
be thrown.
Original comment by smoye...@gmail.com
on 31 May 2012 at 9:53
Original issue reported on code.google.com by
vojtech....@insophy.cz
on 26 Apr 2012 at 12:03