Package java.net
Class MalformedURLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.net.MalformedURLException
-
- All Implemented Interfaces:
Serializable
public class MalformedURLException extends IOException
This exception is thrown when a program attempts to create an URL from an incorrect specification.- See Also:
URL, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedURLException()Constructs a new instance.MalformedURLException(String detailMessage)Constructs a new instance with the given detail message.MalformedURLException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MalformedURLException
public MalformedURLException()
Constructs a new instance.
-
MalformedURLException
public MalformedURLException(String detailMessage)
Constructs a new instance with the given detail message.
-
-