java.net
Class UnknownHostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.UnknownHostException
- All Implemented Interfaces:
- Serializable
public class UnknownHostException
- extends IOException
This UnknownHostException is thrown when an IP address resolution is
attempted and no host or resolver may be found.
- See Also:
- Serialized Form
|
Constructor Summary |
UnknownHostException()
Constructs a new instance of this class with its walkback filled in. |
UnknownHostException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownHostException
public UnknownHostException()
- Constructs a new instance of this class with its walkback filled in.
UnknownHostException
public UnknownHostException(String detailMessage)
- Constructs a new instance of this class with its walkback and message
filled in.
- Parameters:
detailMessage - String The detail message for the exception.
Please submit a feedback, bug or feature