Packages  This Package  Prev  Next  Index  

§4.15 Class MalformedURLException

public  class  java.net.MalformedURLException
    extends  java.io.IOException  (I-§2.29)
{
        // Constructors
    public MalformedURLException();	§4.15.1
    public MalformedURLException(String  msg);	§4.15.2
}
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.


Constructors

MalformedURLException

public MalformedURLException()
Constructs a MalformedURLException with no detail message.

MalformedURLException

public MalformedURLException(String msg)
Constructs a MalformedURLException with the specified detail message.
Parameters:
msg - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com