private MetadataEntry getUserMetadata(GoogleDocs googleDocs) throws ServiceException
    {
        DocsService docsService = new DocsService("spring-social-google-docs/1.0");
        docsService = googleDocs.setAuthentication(docsService);

        try
        {
            return docsService.getEntry(new URL(METADATA_URL), MetadataEntry.class);
        }
        catch (MalformedURLException e)
        {
            throw new ApiException(e.getMessage());
        }
        catch (IOException e)
        {
            throw new ApiException(e.getMessage());
        }
        catch (ServiceException e)
        {
            throw e;
        }
    }