Bug 501790 - Invalid octal escape sequence (\8) causes IAE

Invalid string literals are not crashing the editor anymore. 
As discussed, we'll just skip the exception without sending a warning

Change-Id: I1ddc2e0ebe65d7373b3aa09fe9e38519c45d281a
Signed-off-by: Patrik Suzzi <psuzzi@gmail.com>
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StringLiteral.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StringLiteral.java
index 5839d35..2d61088 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StringLiteral.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StringLiteral.java
@@ -7,6 +7,7 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ *     Patrik Suzzi <psuzzi@gmail.com> - Bug 501790
  *******************************************************************************/
 
 package org.eclipse.wst.jsdt.core.dom;
@@ -174,7 +175,7 @@
 			new JsStringScanner(token).scan();
 		}
 		catch (IllegalArgumentException e) {
-			throw new IllegalArgumentException("Invalid string literal : >" + token + "<");//$NON-NLS-1$//$NON-NLS-2$
+			// Bug 501790, Tolerant parsing should not crash the editor.
 		}
 		preValueChange(ESCAPED_VALUE_PROPERTY);
 		this.escapedValue = token;