return EntityUtils.toString(httpEntity);
}
protected boolean handlePortalException(String exception) throws Exception {
if (exception.equals("")) {
return false;
<BUG>}
if (_logger.isDebugEnabled()) {
_logger.debug("Handling exception {}", exception);</BUG>
}
if (exception.equals("com.liferay.portal.DuplicateLockException")) {

return EntityUtils.toString(httpEntity);
}
protected boolean handlePortalException(String exception) throws Exception {
if (exception.equals("")) {
return false;
}
if (!RetryUtil.retryInProgress(getSyncAccountId()) &&
_logger.isDebugEnabled()) {
_logger.debug("Handling exception {}", exception);
}
if (exception.equals("com.liferay.portal.DuplicateLockException")) {
