1. /*
  2. * @(#)UnknownHostException.java 1.14 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.net;
  8. import java.io.IOException;
  9. /**
  10. * Thrown to indicate that the IP address of a host could not be determined.
  11. *
  12. * @author Jonathan Payne
  13. * @version 1.14, 01/23/03
  14. * @since JDK1.0
  15. */
  16. public
  17. class UnknownHostException extends IOException {
  18. /**
  19. * Constructs a new <code>UnknownHostException</code> with the
  20. * specified detail message.
  21. *
  22. * @param host the detail message.
  23. */
  24. public UnknownHostException(String host) {
  25. super(host);
  26. }
  27. /**
  28. * Constructs a new <code>UnknownHostException</code> with no detail
  29. * message.
  30. */
  31. public UnknownHostException() {
  32. }
  33. }