diff options
author | Karsten Thoms | 2020-07-02 12:05:34 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-08-03 20:42:11 +0000 |
commit | 2396aa5277b6226458776493ea85ce07adc54e7f (patch) | |
tree | dd6455b9192fe1f74f3466fcd2c8923b019f6f88 | |
parent | 1bebc2ee92d1b9b2e5325f51fb6dc28b03803e47 (diff) | |
download | eclipse.platform.text-2396aa5277b6226458776493ea85ce07adc54e7f.tar.gz eclipse.platform.text-2396aa5277b6226458776493ea85ce07adc54e7f.tar.xz eclipse.platform.text-2396aa5277b6226458776493ea85ce07adc54e7f.zip |
Bug 564863 - Add cause to thrown IAEY20200805-1200Y20200804-1200I20200805-1800I20200805-0750I20200805-0630I20200804-1800I20200803-1800
4.17 version update for org.eclipse.jface.text
Change-Id: I410a18ff93ccb72608cfca089129b0d7f60dd99f
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
-rw-r--r-- | org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java index 316a78702c6..a17c26faef9 100644 --- a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java +++ b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java @@ -856,7 +856,7 @@ public class ProjectionViewer extends SourceViewer implements ITextViewerExtensi try { catchupWithProjectionAnnotationModel(event); } catch (BadLocationException x) { - throw new IllegalArgumentException(); + throw new IllegalArgumentException(x); } } else @@ -894,7 +894,7 @@ public class ProjectionViewer extends SourceViewer implements ITextViewerExtensi try { catchupWithProjectionAnnotationModel(null); } catch (BadLocationException x1) { - throw new IllegalArgumentException(); + throw new IllegalArgumentException(x1); } finally { synchronized (fLock) { fPendingRequests.clear(); |