Searched refs:MalformedURLException (Results 1 - 25 of 29) sorted by relevance

12

/libcore/luni/src/main/java/java/net/
H A DMalformedURLException.java28 public class MalformedURLException extends IOException { class in inherits:IOException
35 public MalformedURLException() { method in class:MalformedURLException
41 public MalformedURLException(String detailMessage) { method in class:MalformedURLException
49 public MalformedURLException(String detailMessage, Throwable cause) { method in class:MalformedURLException
H A DURL.java71 * {@link MalformedURLException}. Applications may install handlers for other
123 * @throws MalformedURLException if {@code spec} could not be parsed as a
126 public URL(String spec) throws MalformedURLException {
135 * @throws MalformedURLException if {@code spec} could not be parsed as a
138 public URL(URL context, String spec) throws MalformedURLException {
149 * @throws MalformedURLException if the given string {@code spec} could not
152 public URL(URL context, String spec, URLStreamHandler handler) throws MalformedURLException {
154 throw new MalformedURLException();
178 throw new MalformedURLException("Protocol not found: " + spec);
184 throw new MalformedURLException("Unknow
[all...]
H A DJarURLConnection.java62 * @throws MalformedURLException
65 protected JarURLConnection(URL url) throws MalformedURLException {
70 throw new MalformedURLException();
H A DURLClassLoader.java112 } catch (MalformedURLException e) {
232 } catch (MalformedURLException e) {
568 } catch (MalformedURLException e) {
720 } catch (MalformedURLException e) {
763 private URL createSearchURL(URL url) throws MalformedURLException {
1005 } catch (MalformedURLException e) {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLTest.java27 import java.net.MalformedURLException;
56 throws MalformedURLException {
62 } catch (MalformedURLException e) {
67 public void test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() throws MalformedURLException {
79 } catch (MalformedURLException e) {
84 public void test_java_protocol_handler_pkgs_prop() throws MalformedURLException {
91 } catch (MalformedURLException e) {
96 public void testHashCode() throws MalformedURLException {
107 public void testSetURLStreamHandlerFactory() throws MalformedURLException, IOException, IllegalArgumentException, IllegalAccessException {
151 public void testURLString() throws MalformedURLException {
[all...]
H A DOldURLStreamHandlerTest.java22 import java.net.MalformedURLException;
34 public void test_equalsLjava_net_URLLjava_net_URL() throws MalformedURLException {
54 public void test_getHostAddress() throws MalformedURLException, UnknownHostException {
65 public void test_hashCodeLjava_net_URL() throws MalformedURLException {
106 throws MalformedURLException {
133 public void test_setURL1() throws MalformedURLException {
143 public void test_setURL2() throws MalformedURLException {
154 public void test_toExternalForm() throws MalformedURLException {
H A DOldURLClassLoaderTest.java25 import java.net.MalformedURLException;
58 public void test_Constructor$Ljava_net_URL() throws MalformedURLException {
130 public void test_addURLLjava_net_URL() throws MalformedURLException {
152 public void test_definePackage() throws MalformedURLException {
272 throws MalformedURLException {
H A DOldJarURLConnectionTest.java26 import java.net.MalformedURLException;
47 throws MalformedURLException {
317 } catch(MalformedURLException me) {
318 fail("MalformedURLException was thrown.");
328 fail("MalformedURLException was not thrown.");
329 } catch(MalformedURLException me) {
333 } catch(MalformedURLException me) {
334 fail("MalformedURLException was thrown.");
340 protected TestJarURLConnection(URL arg0) throws MalformedURLException {
H A DURLTest.java21 import java.net.MalformedURLException;
133 } catch (MalformedURLException expected) {
197 } catch (MalformedURLException expected) {
347 } catch (MalformedURLException expected) {
355 } catch (MalformedURLException expected) {
363 } catch (MalformedURLException expected) {
588 } catch (MalformedURLException expected) {
598 } catch (MalformedURLException expected) {
608 } catch (MalformedURLException expected) {
675 } catch (MalformedURLException expecte
[all...]
/libcore/luni/src/main/java/java/lang/
H A DVMClassLoader.java19 import java.net.MalformedURLException;
42 } catch (MalformedURLException mue) {
62 } catch (MalformedURLException mue) {
/libcore/support/src/test/java/tests/support/
H A DSupport_GetLocal.java27 import java.net.MalformedURLException;
38 MalformedURLException {
59 MalformedURLException {
79 MalformedURLException {
/libcore/luni/src/main/java/libcore/net/url/
H A DJarHandler.java21 import java.net.MalformedURLException;
83 } catch (MalformedURLException e) {
H A DJarURLConnectionImpl.java29 import java.net.MalformedURLException;
65 * @throws MalformedURLException
70 public JarURLConnectionImpl(URL url) throws MalformedURLException,
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldManifestTest.java24 import java.net.MalformedURLException;
112 } catch (MalformedURLException e) {
137 } catch (MalformedURLException e) {
/libcore/luni/src/main/java/java/util/prefs/
H A DPreferences.java22 import java.net.MalformedURLException;
442 throw new MalformedURLException("Inputstream cannot be null");
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DContentHandlerFactoryTest.java13 import java.net.MalformedURLException;
83 } catch (MalformedURLException e) {
84 fail("MalformedURLException was thrown: " + e.getMessage());
H A DURLConnectionTest.java43 import java.net.MalformedURLException;
78 public void test_addRequestProperty() throws MalformedURLException,
108 public void test_setRequestProperty() throws MalformedURLException,
141 public void test_setUseCachesZ() throws MalformedURLException, IOException {
158 public void test_setAllowUserInteractionZ() throws MalformedURLException,
1290 throws MalformedURLException, IOException {
1310 private URL createTempHelloWorldFile() throws MalformedURLException {
/libcore/support/src/test/java/tests/util/
H A DClassLoaderBuilder.java20 import java.net.MalformedURLException;
146 } catch (MalformedURLException e) {
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTest.java19 import java.net.MalformedURLException;
89 catch (MalformedURLException ex) {
120 catch (MalformedURLException ex) {
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMTestCase.java3 import java.net.MalformedURLException;
60 } catch (MalformedURLException ex) {
86 } catch (MalformedURLException ex) {
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java21 import java.net.MalformedURLException;
437 } catch (MalformedURLException ex) {
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileTest.java23 import java.net.MalformedURLException;
170 public void test_toURL3() throws MalformedURLException {
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java27 import java.net.MalformedURLException;
76 } catch (MalformedURLException e) {
/libcore/luni/src/test/java/tests/api/java/util/
H A DResourceBundleTest.java22 import java.net.MalformedURLException;
109 } catch (MalformedURLException e) {
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java28 import java.net.MalformedURLException;
101 public URL getUrl(String path) throws MalformedURLException, UnknownHostException {

Completed in 900 milliseconds

12