1. /*
  2. * @(#)ProtocolException.java 1.13 00/02/02
  3. *
  4. * Copyright 1995-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.net;
  11. import java.io.IOException;
  12. /**
  13. * Thrown to indicate that there is an error in the underlying
  14. * protocol, such as a TCP error.
  15. *
  16. * @author Chris Warth
  17. * @version 1.13, 02/02/00
  18. * @since JDK1.0
  19. */
  20. public
  21. class ProtocolException extends IOException {
  22. /**
  23. * Constructs a new <code>ProtocolException</code> with the
  24. * specified detail message.
  25. *
  26. * @param host the detail message.
  27. */
  28. public ProtocolException(String host) {
  29. super(host);
  30. }
  31. /**
  32. * Constructs a new <code>ProtocolException</code> with no detail message.
  33. */
  34. public ProtocolException() {
  35. }
  36. }