1 /* 2 * @(#)UnknownHostException.java 1.15 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 import java.io.IOException; 11 12 /** 13 * Thrown to indicate that the IP address of a host could not be determined. 14 * 15 * @author Jonathan Payne 16 * @version 1.15, 12/19/03 17 * @since JDK1.0 18 */ 19 public 20 class UnknownHostException extends IOException { 21 /** 22 * Constructs a new <code>UnknownHostException</code> with the 23 * specified detail message. 24 * 25 * @param host the detail message. 26 */ 27 public UnknownHostException(String host) { 28 super(host); 29 } 30 31 /** 32 * Constructs a new <code>UnknownHostException</code> with no detail 33 * message. 34 */ 35 public UnknownHostException() { 36 } 37 } 38