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