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