Skip to content

Commit

Permalink
Restore old exception handling for
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich
<chriTaskMarkerContributorstian.dietrich@itemis.de>
  • Loading branch information
cdietrich committed Jul 11, 2023
1 parent 105a4dc commit 4cebfc2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2014, 2020 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2014, 2023 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand Down Expand Up @@ -65,8 +65,8 @@ protected void createTaskMarkers(IFile file, List<Task> tasks, IProgressMonitor
public void deleteMarkers(IFile file, IProgressMonitor monitor) {
try {
file.deleteMarkers(TaskMarkerTypeProvider.XTEXT_TASK_TYPE, true, IResource.DEPTH_ZERO);
} catch (Throwable e) {
throw new RuntimeException(e);
} catch (CoreException e) {
LOG.error(e.getMessage(), e);
}
}
}

0 comments on commit 4cebfc2

Please sign in to comment.