1. /*
  2. * @(#)UnknownServiceException.java 1.11 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 an unknown service exception has
  14. * occurred. Either the MIME type returned by a URL connection does
  15. * not make sense, or the application is attempting to write to a
  16. * read-only URL connection.
  17. *
  18. * @author unascribed
  19. * @version 1.11, 02/02/00
  20. * @since JDK1.0
  21. */
  22. public class UnknownServiceException extends IOException {
  23. /**
  24. * Constructs a new <code>UnknownServiceException</code> with no
  25. * detail message.
  26. */
  27. public UnknownServiceException() {
  28. }
  29. /**
  30. * Constructs a new <code>UnknownServiceException</code> with the
  31. * specified detail message.
  32. *
  33. * @param msg the detail message.
  34. */
  35. public UnknownServiceException(String msg) {
  36. super(msg);
  37. }
  38. }