PortUnreachableException


PortUnreachableException java.net

Java 1.4 serializable checked

An exception of this type may be thrown by a send( ) or receive( ) call on a DatagramSocket if the connect( ) method of that socket has been called, and if the connection attempt resulted in an ICMP "port unreachable" message.

Figure 12-15. java.net.PortUnreachableException

 public class  PortUnreachableException  extends SocketException {  // Public Constructors  public  PortUnreachableException  ( );        public  PortUnreachableException  (String  msg  );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net