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 indicates that a URL passed to an object was not in a
valid format.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MalformedURLException
public MalformedURLException()
- Create a new instance without a descriptive error message.
MalformedURLException
public MalformedURLException(String message)
- Create a new instance with a descriptive error message.
- Parameters:
message
- a message describing the error that occurred