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