Home
last modified time | relevance | path

Searched refs:URISyntaxException (Results 1 – 25 of 36) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURISyntaxExceptionTest.java19 import java.net.URISyntaxException;
30 new URISyntaxException(null, "problem", 2); in test_ConstructorLjava_lang_StringLjava_lang_StringI()
37 new URISyntaxException("str", null, 2); in test_ConstructorLjava_lang_StringLjava_lang_StringI()
44 new URISyntaxException("str", "problem", -2); in test_ConstructorLjava_lang_StringLjava_lang_StringI()
50 URISyntaxException e = new URISyntaxException("str", "problem", 2); in test_ConstructorLjava_lang_StringLjava_lang_StringI()
62 new URISyntaxException(null, "problem"); in test_ConstructorLjava_lang_StringLjava_lang_String()
69 new URISyntaxException("str", null); in test_ConstructorLjava_lang_StringLjava_lang_String()
75 URISyntaxException e = new URISyntaxException("str", "problem"); in test_ConstructorLjava_lang_StringLjava_lang_String()
107 URISyntaxException e = new URISyntaxException("str", "problem", 3); in test_getMessage()
111 e = new URISyntaxException("str", "problem"); in test_getMessage()
DURITest.java22 import java.net.URISyntaxException;
30 private URI[] getUris() throws URISyntaxException { in getUris()
87 public void test_ConstructorLjava_lang_String() throws URISyntaxException { in test_ConstructorLjava_lang_String()
131 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
173 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
214 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
222 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
237 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
247 } catch (URISyntaxException e) { in test_ConstructorLjava_lang_String()
259 } catch (URISyntaxException e) { in test_URI_String()
[all …]
DProxySelectorTest.java26 import java.net.URISyntaxException;
69 } catch (URISyntaxException e) {
111 throws URISyntaxException { in test_selectLjava_net_URI_SelectExact()
147 throws URISyntaxException { in test_selectLjava_net_URI_SelectExact_NullHost()
212 throws URISyntaxException { in test_selectLjava_net_URI_SelectExact_DefaultPort()
241 throws URISyntaxException { in test_selectLjava_net_URI_SelectExact_InvalidPort()
308 throws URISyntaxException { in test_selectLjava_net_URI_SelectLikeHTTP()
328 throws URISyntaxException { in test_selectLjava_net_URI_SelectNoHTTP()
344 throws URISyntaxException { in test_selectLjava_net_URI_SelectLikeHTTPS()
365 throws URISyntaxException { in test_selectLjava_net_URI_SelectNoHTTPS()
[all …]
DCookiePolicyTest.java22 import java.net.URISyntaxException;
33 public void test_ShouldAccept_LURI_LHttpCookie() throws URISyntaxException { in test_ShouldAccept_LURI_LHttpCookie()
/libcore/luni/src/test/java/libcore/java/net/
DOldURITest.java21 import java.net.URISyntaxException;
95 } catch (URISyntaxException e) { in test_createLjava_lang_String()
109 public void test_relativizeLjava_net_URI() throws URISyntaxException { in test_relativizeLjava_net_URI()
118 public void test_resolveLjava_net_URI() throws URISyntaxException { in test_resolveLjava_net_URI()
127 public void test_resolveLjava_lang_String() throws URISyntaxException { in test_resolveLjava_lang_String()
143 public void test_ConstructorLjava_lang_String() throws URISyntaxException { in test_ConstructorLjava_lang_String()
DProxySelectorTest.java23 import java.net.URISyntaxException;
65 public void testNoProxySystemProperty() throws URISyntaxException { in testNoProxySystemProperty()
73 public void testProxyHostOnly() throws URISyntaxException { in testProxyHostOnly()
89 public void testProxyHostPort() throws URISyntaxException { in testProxyHostPort()
110 public void testProxyPortOnly() throws URISyntaxException { in testProxyPortOnly()
123 public void testHttpsDoesNotUseHttpProperties() throws URISyntaxException { in testHttpsDoesNotUseHttpProperties()
129 public void testProxyHost() throws URISyntaxException { in testProxyHost()
141 public void testHttpProxyHostPreferredOverProxyHost() throws URISyntaxException { in testHttpProxyHostPreferredOverProxyHost()
148 public void testSocksProxyHost() throws URISyntaxException { in testSocksProxyHost()
161 public void testSocksProxyHostAndPort() throws URISyntaxException { in testSocksProxyHostAndPort()
[all …]
DURITest.java21 import java.net.URISyntaxException;
113 } catch (URISyntaxException expected) { in testEmptyHostAndNoPath()
128 } catch (URISyntaxException expected) { in testNoHostAndNoPath()
271 } catch (URISyntaxException expected) { in testHashInFragment()
468 } catch (URISyntaxException expected) { in testSquareBracketsInUserInfo()
522 } catch (URISyntaxException e) { in testSquareBracketsWithIPv4()
530 } catch (URISyntaxException e) { in testSquareBracketsWithHostname()
556 } catch (URISyntaxException expected) { in testParseServerAuthorityInvalidPortMinus()
568 } catch (URISyntaxException expected) { in testParseServerAuthorityInvalidPortPlus()
580 } catch (URISyntaxException expected) { in testParseServerAuthorityInvalidPortNonASCII()
[all …]
DUrlEncodingTest.java21 import java.net.URISyntaxException;
55 } catch (URISyntaxException expected) { in testDecodingSpace()
69 } catch (URISyntaxException expected) { in testUriDecodingPartial()
74 } catch (URISyntaxException expected) { in testUriDecodingPartial()
95 } catch (URISyntaxException expected) { in testUriDecodingInvalid()
199 } catch (URISyntaxException expected) { in testDecodingNonUsDigits()
DOldAndroidURITest.java20 import java.net.URISyntaxException;
31 throws URISyntaxException { in construct()
DAbstractCookiesTest.java48 import java.net.URISyntaxException;
283 public void testNoCookieHeaderSentIfNoCookiesMatch() throws IOException, URISyntaxException { in testNoCookieHeaderSentIfNoCookiesMatch()
544 public void testCookieStoreRemoveAll() throws URISyntaxException { in testCookieStoreRemoveAll()
554 public void testCookieStoreAddAcceptsConflictingUri() throws URISyntaxException { in testCookieStoreAddAcceptsConflictingUri()
561 public void testCookieStoreRemoveRequiresUri() throws URISyntaxException { in testCookieStoreRemoveRequiresUri()
570 public void testCookieStoreUriUsesHttpSchemeAlways() throws URISyntaxException { in testCookieStoreUriUsesHttpSchemeAlways()
576 public void testCookieStoreUriDropsUserInfo() throws URISyntaxException { in testCookieStoreUriDropsUserInfo()
582 public void testCookieStoreUriKeepsHost() throws URISyntaxException { in testCookieStoreUriKeepsHost()
588 public void testCookieStoreUriDropsPort() throws URISyntaxException { in testCookieStoreUriDropsPort()
594 public void testCookieStoreUriDropsPath() throws URISyntaxException { in testCookieStoreUriDropsPath()
[all …]
DOldURLTest.java32 import java.net.URISyntaxException;
347 public void testToURI() throws MalformedURLException, URISyntaxException { in testToURI()
391 } catch (URISyntaxException e) { in testToURI()
501 public void testGetAuthority() throws MalformedURLException, URISyntaxException { in testGetAuthority()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURI.java38 public URI(java.lang.String str) throws java.net.URISyntaxException { in URI()
50 throws java.net.URISyntaxException { in URI()
60 throws java.net.URISyntaxException { in URI()
69 throws java.net.URISyntaxException { in URI()
74 throws java.net.URISyntaxException { in URI()
82 public java.net.URI parseServerAuthority() throws java.net.URISyntaxException { in parseServerAuthority()
241 throws java.net.URISyntaxException { in checkPath()
690 private void fail(java.lang.String reason) throws java.net.URISyntaxException { in fail()
694 private void fail(java.lang.String reason, int p) throws java.net.URISyntaxException { in fail()
699 throws java.net.URISyntaxException { in failExpecting()
[all …]
/libcore/ojluni/src/main/java/java/net/
DURISyntaxException.java38 public class URISyntaxException class
61 public URISyntaxException(String input, String reason, int index) { in URISyntaxException() method in URISyntaxException
81 public URISyntaxException(String input, String reason) { in URISyntaxException() method in URISyntaxException
DURI.java583 public URI(String str) throws URISyntaxException { in URI()
663 throws URISyntaxException in URI()
736 throws URISyntaxException in URI()
768 throws URISyntaxException in URI()
811 throws URISyntaxException in URI()
847 } catch (URISyntaxException x) { in create()
903 throws URISyntaxException in parseServerAuthority()
1659 } catch (URISyntaxException x) { in readObject()
1814 throws URISyntaxException
1819 throw new URISyntaxException(s,
[all …]
DInMemoryCookieStore.java427 } catch (URISyntaxException ignored) { in getEffectiveURI()
/libcore/luni/src/test/java/libcore/java/nio/file/
DPathsTest.java23 import java.net.URISyntaxException;
55 public void test_get_URI() throws URISyntaxException { in test_get_URI()
/libcore/ojluni/src/main/java/sun/security/x509/
DURIName.java30 import java.net.URISyntaxException;
108 } catch (URISyntaxException use) { in URIName()
161 } catch (URISyntaxException use) { in nameConstraint()
/libcore/ojluni/src/main/java/sun/security/util/
DPropertyExpander.java29 import java.net.URISyntaxException;
118 } catch (URISyntaxException use) { in expand()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUriUtils.java31 import java.net.URISyntaxException;
127 } catch (URISyntaxException x) {
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java34 import java.net.URISyntaxException;
294 } catch (java.net.URISyntaxException e) { in toURI()
314 String fragment) throws URISyntaxException in createURI()
530 throws URISyntaxException in checkPath()
535 throw new URISyntaxException(s, in checkPath()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java78 throws java.net.URISyntaxException { in createURI()
142 throws java.net.URISyntaxException { in checkPath()
/libcore/ojluni/src/test/java/nio/file/Path/
DUriImportExport.java32 import java.net.URISyntaxException;
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DNodeImpl.java20 import java.net.URISyntaxException;
337 } catch (URISyntaxException e) { in getBaseURI()
383 } catch (URISyntaxException e) { in sanitizeUri()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java28 import java.net.URISyntaxException;
1620 } catch (URISyntaxException e) { in test_writeObject_URI()
1646 URISyntaxException objToSave = null; in test_writeObject_URISyntaxException()
1647 URISyntaxException objLoaded = null; in test_writeObject_URISyntaxException()
1650 objToSave = new URISyntaxException("str", "problem", 4); in test_writeObject_URISyntaxException()
1653 objLoaded = (URISyntaxException) dumpAndReload(objToSave); in test_writeObject_URISyntaxException()
/libcore/dom/src/test/java/org/w3c/domts/
DJUnitTestCaseAdapter.java19 import java.net.URISyntaxException;
94 } catch (URISyntaxException e) { in setName()

12