1. /*
  2. * @(#)UnsupportedOperationException.java 1.15 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.lang;
  8. /**
  9. * Thrown to indicate that the requested operation is not supported.<p>
  10. *
  11. * This class is a member of the
  12. * <a href="{@docRoot}/../guide/collections/index.html">
  13. * Java Collections Framework</a>.
  14. *
  15. * @author Josh Bloch
  16. * @version 1.15, 01/23/03
  17. * @since 1.2
  18. */
  19. public class UnsupportedOperationException extends RuntimeException {
  20. /**
  21. * Constructs an UnsupportedOperationException with no detail message.
  22. */
  23. public UnsupportedOperationException() {
  24. }
  25. /**
  26. * Constructs an UnsupportedOperationException with the specified
  27. * detail message.
  28. *
  29. * @param message the detail message
  30. */
  31. public UnsupportedOperationException(String message) {
  32. super(message);
  33. }
  34. }