1. /*
  2. * @(#)PortUnreachableException.java 1.3 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.net;
  8. /**
  9. * Signals that an ICMP Port Unreachable message has been
  10. * received on a connected datagram.
  11. *
  12. * @since 1.4
  13. */
  14. public class PortUnreachableException extends SocketException {
  15. /**
  16. * Constructs a new <code>PortUnreachableException</code> with a
  17. * detail message.
  18. * @param msg the detail message
  19. */
  20. public PortUnreachableException(String msg) {
  21. super(msg);
  22. }
  23. /**
  24. * Construct a new <code>PortUnreachableException</code> with no
  25. * detailed message.
  26. */
  27. public PortUnreachableException() {}
  28. }