Bug 564863 - Add cause to thrown IAE

4.17 version update for org.eclipse.jface.text

Change-Id: I410a18ff93ccb72608cfca089129b0d7f60dd99f
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
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 316a787..a17c26f 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 @@
 				try {
 					catchupWithProjectionAnnotationModel(event);
 				} catch (BadLocationException x) {
-					throw new IllegalArgumentException();
+					throw new IllegalArgumentException(x);
 				}
 
 			} else
@@ -894,7 +894,7 @@
 								try {
 									catchupWithProjectionAnnotationModel(null);
 								} catch (BadLocationException x1) {
-									throw new IllegalArgumentException();
+									throw new IllegalArgumentException(x1);
 								} finally {
 									synchronized (fLock) {
 										fPendingRequests.clear();