Java In A Nutshell, 5th Edition

MalformedURLException java.net

Java 1.0 serializable checked

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

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( )

Категории