Home
last modified time | relevance | path

Searched refs:MalformedURLException (Results 1 – 25 of 46) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java27 import java.net.MalformedURLException;
56 throws MalformedURLException { in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_String()
62 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_String()
67 …est_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() throws MalformedURLException { in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
79 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
84 public void test_java_protocol_handler_pkgs_prop() throws MalformedURLException { in test_java_protocol_handler_pkgs_prop()
91 } catch (MalformedURLException e) { in test_java_protocol_handler_pkgs_prop()
96 public void testHashCode() throws MalformedURLException { in testHashCode()
107 …public void testSetURLStreamHandlerFactory() throws MalformedURLException, IOException, IllegalArg… in testSetURLStreamHandlerFactory()
151 public void testURLString() throws MalformedURLException { in testURLString()
[all …]
DOldURLStreamHandlerTest.java22 import java.net.MalformedURLException;
34 public void test_equalsLjava_net_URLLjava_net_URL() throws MalformedURLException { in test_equalsLjava_net_URLLjava_net_URL()
54 public void test_getHostAddress() throws MalformedURLException, UnknownHostException { in test_getHostAddress()
65 public void test_hashCodeLjava_net_URL() throws MalformedURLException { in test_hashCodeLjava_net_URL()
106 throws MalformedURLException { in test_parseURLLjava_net_URLLjava_lang_StringII()
133 public void test_setURL1() throws MalformedURLException { in test_setURL1()
143 public void test_setURL2() throws MalformedURLException { in test_setURL2()
154 public void test_toExternalForm() throws MalformedURLException { in test_toExternalForm()
DOldJarURLConnectionTest.java26 import java.net.MalformedURLException;
47 throws MalformedURLException { in createContent()
317 } catch(MalformedURLException me) { in test_Constructor()
329 } catch(MalformedURLException me) { in test_Constructor()
333 } catch(MalformedURLException me) { in test_Constructor()
340 protected TestJarURLConnection(URL arg0) throws MalformedURLException { in TestJarURLConnection()
DOldURLClassLoaderTest.java24 import java.net.MalformedURLException;
46 public void test_Constructor$Ljava_net_URL() throws MalformedURLException { in test_Constructor$Ljava_net_URL()
117 public void test_addURLLjava_net_URL() throws MalformedURLException { in test_addURLLjava_net_URL()
163 public void test_definePackage() throws MalformedURLException { in test_definePackage()
281 throws MalformedURLException { in getURLClassLoader()
DURLTest.java27 import java.net.MalformedURLException;
292 } catch (MalformedURLException expected) { in testOnlySupportedProtocols()
524 } catch (MalformedURLException expected) { in testNonNumericPort()
532 } catch (MalformedURLException expected) { in testPortWithMinusSign()
540 } catch (MalformedURLException expected) { in testPortWithPlusSign()
548 } catch (MalformedURLException expected) { in testPortNonASCII()
556 } catch (MalformedURLException expected) { in testNegativePortEqualsPlaceholder()
801 } catch (MalformedURLException expected) { in testSquareBracketsWithIPv4()
811 } catch (MalformedURLException expected) { in testSquareBracketsWithHostname()
821 } catch (MalformedURLException expected) { in testIPv6WithoutSquareBrackets()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMalformedURLExceptionTest.java20 import java.net.MalformedURLException;
34 } catch (MalformedURLException e) { in test_Constructor()
50 throw new MalformedURLException(myString); in test_ConstructorLjava_lang_String()
51 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
DURLTest.java25 import java.net.MalformedURLException;
216 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
224 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
233 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
262 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
274 } catch (MalformedURLException e) { in test_ConstructorLjava_lang_String()
474 } catch (MalformedURLException e) { in test_ConstructorLjava_net_URLLjava_lang_String()
515 } catch (MalformedURLException e) { in test_ConstructorLjava_net_URLLjava_lang_String()
570 } catch (MalformedURLException ex) { in test_ConstructorLjava_net_URLLjava_lang_StringLjava_net_URLStreamHandler()
577 } catch (MalformedURLException e) { in test_ConstructorLjava_net_URLLjava_lang_StringLjava_net_URLStreamHandler()
[all …]
DJarURLConnectionTest.java27 import java.net.MalformedURLException;
42 throws MalformedURLException { in copyAndOpenResourceStream()
98 public void test_getJarFile() throws MalformedURLException, IOException { in test_getJarFile()
/libcore/ojluni/src/main/java/java/net/
DMalformedURLException.java38 public class MalformedURLException extends IOException { class
44 public MalformedURLException() { in MalformedURLException() method in MalformedURLException
53 public MalformedURLException(String msg) { in MalformedURLException() method in MalformedURLException
DJarURLConnection.java156 protected JarURLConnection(URL url) throws MalformedURLException { in JarURLConnection()
164 private void parseSpecs(URL url) throws MalformedURLException { in parseSpecs()
172 throw new MalformedURLException("no !/ found in url spec:" + spec); in parseSpecs()
DURL.java314 throws MalformedURLException in URL()
338 throws MalformedURLException { in URL()
382 URLStreamHandler handler) throws MalformedURLException { in URL()
405 throw new MalformedURLException("Invalid port number :" + in URL()
429 throw new MalformedURLException("unknown protocol: " + protocol); in URL()
446 public URL(String spec) throws MalformedURLException { in URL()
497 public URL(URL context, String spec) throws MalformedURLException { in URL()
522 throws MalformedURLException in URL()
601 throw new MalformedURLException("no protocol: "+original); in URL()
608 throw new MalformedURLException("unknown protocol: "+protocol); in URL()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_GetLocal.java27 import java.net.MalformedURLException;
38 MalformedURLException { in getLocalFile()
59 MalformedURLException { in getExternalLocalFile()
79 MalformedURLException { in getStream()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java35 throws java.net.MalformedURLException { in URL()
40 throws java.net.MalformedURLException { in URL()
50 throws java.net.MalformedURLException { in URL()
54 public URL(java.lang.String spec) throws java.net.MalformedURLException { in URL()
58 public URL(java.net.URL context, java.lang.String spec) throws java.net.MalformedURLException { in URL()
63 throws java.net.MalformedURLException { in URL()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java25 import java.net.MalformedURLException;
65 } catch (MalformedURLException e) { in getEntryUrlOrNull()
121 public ClassPathURLConnection(URL url) throws MalformedURLException { in ClassPathURLConnection()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java84 } catch (MalformedURLException unused) { in sameFile()
114 } catch (MalformedURLException unused) { in hashCode()
177 } catch (MalformedURLException e) { in parseAbsoluteSpec()
DJarURLConnection.java34 import java.net.MalformedURLException;
80 throws MalformedURLException, IOException { in JarURLConnection()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java19 import java.net.MalformedURLException;
89 catch (MalformedURLException ex) { in resolveURI()
120 catch (MalformedURLException ex) { in resolveURI()
/libcore/luni/src/test/java/libcore/java/security/
DCodeSourceTest.java29 import java.net.MalformedURLException;
86 public void testGetLocation() throws MalformedURLException { in testGetLocation()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldManifestTest.java24 import java.net.MalformedURLException;
114 } catch (MalformedURLException e) { in test_writeLjava_io_OutputStream()
139 } catch (MalformedURLException e) { in test_writeLjava_io_OutputStream()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java3 import java.net.MalformedURLException;
60 } catch (MalformedURLException ex) { in resolveURI()
86 } catch (MalformedURLException ex) { in resolveURI()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java20 import java.net.MalformedURLException;
146 } catch (MalformedURLException e) { in classpathToUrls()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java22 import java.net.MalformedURLException;
149 public void test_toURL3() throws MalformedURLException { in test_toURL3()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java40 import java.net.MalformedURLException;
711 } catch (MalformedURLException e) {
747 } catch (MalformedURLException e) {
913 } catch (MalformedURLException e) {
983 } catch (MalformedURLException e) {
1134 } catch (MalformedURLException e) {
1233 throws MalformedURLException
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java27 import java.net.MalformedURLException;
77 } catch (MalformedURLException e) { in getURL()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java38 import java.net.MalformedURLException;
73 public void test_addRequestProperty() throws MalformedURLException, in test_addRequestProperty()
103 public void test_setRequestProperty() throws MalformedURLException, in test_setRequestProperty()
136 public void test_setUseCachesZ() throws MalformedURLException, IOException { in test_setUseCachesZ()
153 public void test_setAllowUserInteractionZ() throws MalformedURLException, in test_setAllowUserInteractionZ()
1240 throws MalformedURLException, IOException {
1261 private URL createTempHelloWorldFile() throws MalformedURLException {

12