if(LOG.isDebugEnabled()) {
LOG.debug("Response Details: \n"+response);
}
}
catch(HttpException he) {
throw new PublishException("Unable to publish. "+he.getMessage(), he);
}
catch(IOException io) {
throw new PublishException("Unable to publish. "+io.getMessage(), io);
}
}