KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > net > PortUnreachableException


1 /*
2  * @(#)PortUnreachableException.java 1.4 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.net;
9
10 /**
11  * Signals that an ICMP Port Unreachable message has been
12  * received on a connected datagram.
13  *
14  * @since 1.4
15  */

16
17 public class PortUnreachableException extends SocketException JavaDoc {
18
19     /**
20      * Constructs a new <code>PortUnreachableException</code> with a
21      * detail message.
22      * @param msg the detail message
23      */

24     public PortUnreachableException(String JavaDoc msg) {
25     super(msg);
26     }
27
28     /**
29      * Construct a new <code>PortUnreachableException</code> with no
30      * detailed message.
31      */

32     public PortUnreachableException() {}
33 }
34
Popular Tags