1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.activation;
  6. import java.io.IOException;
  7. /**
  8. * Signals that the requested operation does not support the
  9. * requested data type.
  10. *
  11. * @see javax.activation.DataHandler
  12. */
  13. public class UnsupportedDataTypeException extends IOException {
  14. /**
  15. * Constructs an UnsupportedDataTypeException with no detail
  16. * message.
  17. */
  18. public UnsupportedDataTypeException() {
  19. super();
  20. }
  21. /**
  22. * Constructs an UnsupportedDataTypeException with the specified
  23. * message.
  24. *
  25. * @param s The detail message.
  26. */
  27. public UnsupportedDataTypeException(String s) {
  28. super(s);
  29. }
  30. }