Name

MalformedURLException

Synopsis

Signals that an unparseable URL specification has been passed to a method.

java.net.MalformedURLException

Figure 12-11. java.net.MalformedURLException

public class MalformedURLException extends java.io.IOException {
// Public Constructors
     public MalformedURLException( );  
     public MalformedURLException(String msg);  
}

Thrown By

java.io.File.toURL( ), JarURLConnection.JarURLConnection( ), URI.toURL( ), URL.URL( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.