| Package java.net |
Previous |
Java API |
Index |
Next |
public class java.net.MalformedURLException
extends java.io.IOException
{
// Constructors
public MalformedURLException();
public MalformedURLException(String msg);
}
Thrown toindicate that a malformed URL has occurred. Either no legal protocol could be found in a specification string, or the string could not be parsed.
public MalformedURLException()Constructs a MalformedURLException with no detail message.
public MalformedURLException(String msg)Constructs a MalformedURLException with the specified detail message.
Parameter Description msg the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |