1. /*
  2. * @(#)UnmodifiableSetException.java 1.4 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.print.attribute;
  8. /**
  9. * Thrown to indicate that the requested operation cannot be performed
  10. * becasue the set is unmodifiable.
  11. *
  12. * @author Phil Race
  13. * @since 1.4
  14. */
  15. public class UnmodifiableSetException extends RuntimeException {
  16. /**
  17. * Constructs an UnsupportedOperationException with no detail message.
  18. */
  19. public UnmodifiableSetException() {
  20. }
  21. /**
  22. * Constructs an UnmodifiableSetException with the specified
  23. * detail message.
  24. *
  25. * @param message the detail message
  26. */
  27. public UnmodifiableSetException(String message) {
  28. super(message);
  29. }
  30. }