Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java4
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 316a78702..a17c26fae 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();

Back to the top