1. /*
  2. * @(#)UnsupportedOperationException.java 1.8 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.lang;
  8. /**
  9. * Thrown to indicate that the requested operation is not supported.
  10. *
  11. * @author Josh Bloch
  12. * @version 1.8 11/29/01
  13. * @since JDK1.2
  14. */
  15. public class UnsupportedOperationException extends RuntimeException {
  16. /**
  17. * Constructs an UnsupportedOperationException with no detail message.
  18. */
  19. public UnsupportedOperationException() {
  20. }
  21. /**
  22. * Constructs an UnsupportedOperationException with the specified
  23. * detail message.
  24. */
  25. public UnsupportedOperationException(String message) {
  26. super(message);
  27. }
  28. }