public void updateIssue(int issueId, Map<RedmineApiIssueProperty, String> issueValues, String comment, TimeEntry timeEntry, IProgressMonitor monitor) throws RedmineStatusException {
ErrrorCollector errorCollector = new ErrrorCollector();
try {
apiClient.updateIssue(issueId, issueValues, comment, timeEntry, errorCollector, monitor);
} catch (RedmineApiErrorException e) {
throw new RedmineStatusException(e);
} catch (RedmineApiInvalidDataException e) {
IStatus status = new Status(IStatus.ERROR, RedmineCorePlugin.PLUGIN_ID, errorCollector.getErrorString(), e);
throw new RedmineStatusException(status);
}
}