updated example application to handle IClient.getDocument() exceptions and ensured...