1. /*
  2. * @(#)UnknownServiceException.java 1.10 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.net;
  8. import java.io.IOException;
  9. /**
  10. * Thrown to indicate that an unknown service exception has
  11. * occurred. Either the MIME type returned by a URL connection does
  12. * not make sense, or the application is attempting to write to a
  13. * read-only URL connection.
  14. *
  15. * @author unascribed
  16. * @version 1.10, 11/29/01
  17. * @since JDK1.0
  18. */
  19. public class UnknownServiceException extends IOException {
  20. /**
  21. * Constructs a new <code>UnknownServiceException</code> with no
  22. * detail message.
  23. */
  24. public UnknownServiceException() {
  25. }
  26. /**
  27. * Constructs a new <code>UnknownServiceException</code> with the
  28. * specified detail message.
  29. *
  30. * @param msg the detail message.
  31. */
  32. public UnknownServiceException(String msg) {
  33. super(msg);
  34. }
  35. }