1. /*
  2. * @(#)UnknownHostException.java 1.10 00/02/02
  3. *
  4. * Copyright 1996-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.rmi;
  11. /**
  12. * An <code>UnknownHostException</code> is thrown if a
  13. * <code>java.net.UnknownHostException</code> occurs while creating
  14. * a connection to the remote host for a remote method call.
  15. *
  16. * @version 1.10, 02/02/00
  17. * @since JDK1.1
  18. */
  19. public class UnknownHostException extends RemoteException {
  20. /* indicate compatibility with JDK 1.1.x version of class */
  21. private static final long serialVersionUID = -8152710247442114228L;
  22. /**
  23. * Constructs an <code>UnknownHostException</code> with the specified
  24. * detail message.
  25. *
  26. * @param s the detail message
  27. * @since JDK1.1
  28. */
  29. public UnknownHostException(String s) {
  30. super(s);
  31. }
  32. /**
  33. * Constructs an <code>UnknownHostException</code> with the specified
  34. * detail message and nested exception.
  35. *
  36. * @param s the detail message
  37. * @param ex the nested exception
  38. * @since JDK1.1
  39. */
  40. public UnknownHostException(String s, Exception ex) {
  41. super(s, ex);
  42. }
  43. }