throw new ZendeskApiException("Creation of topic comment " + topicComment.getTopicId() + " failed", e);
}
}
public IndividualTopicCommentResponse updateTopicComment(TopicComment topicComment) throws ZendeskApiException {
IndividualTopicCommentResponse individualTopicCommentResponse = new IndividualTopicCommentResponse();
individualTopicCommentResponse.setTopicComment(topicComment);
try {
return genericPut("topics/" + topicComment.getTopicId() + "/comments/" + topicComment.getId() + ".json", individualTopicCommentResponse, IndividualTopicCommentResponse.class);
} catch (Exception e) {
throw new ZendeskApiException("Update of topic comment " + topicComment.getTopicId() + " failed", e);
}