try {
HttpResponse response = SocialHttpClientSupport.executeGet(targetURL, POLICY.BASIC_AUTH);
handleError(response);
return SocialJSONDecodingSupport.parser(RestIdentity.class, response);
} catch (IOException ioex) {
throw new ServiceException(IdentityServiceImplV1Alpha2.class, "IOException when reads Json Content.", ioex);
} catch (ParseException pex) {
throw new ServiceException(IdentityServiceImplV1Alpha2.class, "ParseException when reads Json Content.", pex);
}
}