Top Description Fields Constructors
java.net

public Class PortUnreachableException

extends SocketException
Class Inheritance

Signals that an ICMP Port Unreachable message has been received on a connected datagram.
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PortUnreachableException(String
the detail message
msg
)

Constructs a new PortUnreachableException with a detail message.

public
PortUnreachableException()

Construct a new PortUnreachableException with no detailed message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.net.SocketException.serialVersionUID.

Annotations
@Serial

Constructor Detail

PortUnreachableExceptionback to summary
public PortUnreachableException(String msg)

Constructs a new PortUnreachableException with a detail message.

Parameters
msg:String

the detail message

PortUnreachableExceptionback to summary
public PortUnreachableException()

Construct a new PortUnreachableException with no detailed message.