java.net
Class PortUnreachableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.SocketException
                  extended by java.net.PortUnreachableException
All Implemented Interfaces:
Serializable

public class PortUnreachableException
extends SocketException

This exception signals that an ICMP port unreachable datagram has been received.

Since:
1.4
See Also:
Serialized Form

Constructor Summary
PortUnreachableException()
          Create a new instance without a descriptive error message.
PortUnreachableException(String message)
          Create a new instance with a descriptive error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortUnreachableException

public PortUnreachableException()
Create a new instance without a descriptive error message.


PortUnreachableException

public PortUnreachableException(String message)
Create a new instance with a descriptive error message.

Parameters:
message - a message describing the error that occurred