1. /*
  2. * @(#)UnknownHostException.java 1.12 00/02/02
  3. *
  4. * Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.net;
  11. import java.io.IOException;
  12. /**
  13. * Thrown to indicate that the IP address of a host could not be determined.
  14. *
  15. * @author Jonathan Payne
  16. * @version 1.12, 02/02/00
  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. * Constructs a new <code>UnknownHostException</code> with no detail
  32. * message.
  33. */
  34. public UnknownHostException() {
  35. }
  36. }