1. /*
  2. * @(#)UnsupportedOperationException.java 1.12 00/02/02
  3. *
  4. * Copyright 1997-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.lang;
  11. /**
  12. * Thrown to indicate that the requested operation is not supported.
  13. *
  14. * @author Josh Bloch
  15. * @version 1.12, 02/02/00
  16. * @since 1.2
  17. */
  18. public class UnsupportedOperationException extends RuntimeException {
  19. /**
  20. * Constructs an UnsupportedOperationException with no detail message.
  21. */
  22. public UnsupportedOperationException() {
  23. }
  24. /**
  25. * Constructs an UnsupportedOperationException with the specified
  26. * detail message.
  27. *
  28. * @param message the detail message
  29. */
  30. public UnsupportedOperationException(String message) {
  31. super(message);
  32. }
  33. }