Skip to content

Commit

Permalink
Remove obsolete comment
Browse files Browse the repository at this point in the history
The comment is outdated and misleading as it refers to a different kind
of exception than is actually created.
  • Loading branch information
HeikoKlare committed Dec 6, 2023
1 parent 5930a51 commit 4db325c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,6 @@ public static void run(IRunnableWithProgress operation, boolean fork,
} else if (throwable instanceof InterruptedException e) {
throw e;
} else if (throwable instanceof OperationCanceledException) {
// See 1GAN3L5: ITPUI:WIN2000 - ModalContext
// converts OperationCancelException into
// InvocationTargetException
InterruptedException interruptedException = new InterruptedException(throwable.getMessage());
interruptedException.initCause(throwable);
throw interruptedException;
Expand Down

0 comments on commit 4db325c

Please sign in to comment.