FileDocCategorySizeDatePackage
UnmodifiableSetException.javaAPI DocJava SE 5 API811Fri Aug 26 14:57:44 BST 2005javax.print.attribute

UnmodifiableSetException.java

/*
 * @(#)UnmodifiableSetException.java	1.4 03/12/19
 *
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package javax.print.attribute;

/**
 * Thrown to indicate that the requested operation cannot be performed
 * becasue the set is unmodifiable.
 *
 * @author  Phil Race
 * @since   1.4
 */
public class UnmodifiableSetException extends RuntimeException {
    /**
     * Constructs an UnsupportedOperationException with no detail message.
     */
    public UnmodifiableSetException() {
    }

    /**
     * Constructs an UnmodifiableSetException with the specified
     * detail message.
     *
     * @param message the detail message
     */
    public UnmodifiableSetException(String message) {
	super(message);
    }
}