Top Description Fields Constructors
java.net

public Class MalformedURLException

extends IOException
Class Inheritance
Imports
java.io.IOException

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.
Author
Arthur van Hoff
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MalformedURLException()

Constructs a MalformedURLException with no detail message.

public
MalformedURLException(String
the detail message.
msg
)

Constructs a MalformedURLException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

MalformedURLExceptionback to summary
public MalformedURLException()

Constructs a MalformedURLException with no detail message.

MalformedURLExceptionback to summary
public MalformedURLException(String msg)

Constructs a MalformedURLException with the specified detail message.

Parameters
msg:String

the detail message.