public class java.net
MalformedURLException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > IOException
Details
Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a specification string or the string could not be parsed.
version1.17, 11/17/05
sinceJDK1.0

Constructors
public MalformedURLException()
Constructs a MalformedURLException with no detail message.
public MalformedURLException(String msg) Details
Constructs a MalformedURLException with the specified detail message.
msgthe detail message.