Wrap RuntimeException into ParseException when parsing SIP URLs.

Bug: 5665199
Change-Id: If61b837a2e14f7e63ae2d17451a241433e44c281
diff --git a/java/gov/nist/javax/sip/parser/URLParser.java b/java/gov/nist/javax/sip/parser/URLParser.java
index 9e87890..6f2423d 100644
--- a/java/gov/nist/javax/sip/parser/URLParser.java
+++ b/java/gov/nist/javax/sip/parser/URLParser.java
@@ -666,6 +666,10 @@
                 }
             }
             return retval;
+        // BEGIN android-added
+        } catch (RuntimeException e) {
+            throw new ParseException("Invalid URL: " + lexer.getBuffer(), -1);
+        // END android-added
         } finally {
             if (debug)
                 dbg_leave("sipURL");