Most visited

Recently visited

Added in API level 1

MalformedURLException

public class MalformedURLException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.MalformedURLException


抛出以表明发生了格式错误的URL。 在规范字符串中找不到合法协议,或者无法解析字符串。

Summary

Public constructors

MalformedURLException()

构造一个没有详细信息的 MalformedURLException

MalformedURLException(String msg)

用指定的详细信息构造一个 MalformedURLException

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

MalformedURLException

Added in API level 1
MalformedURLException ()

构造一个没有详细信息的 MalformedURLException

MalformedURLException

Added in API level 1
MalformedURLException (String msg)

用指定的详细信息构造一个 MalformedURLException

Parameters
msg String: the detail message.

Hooray!