KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > print > attribute > UnmodifiableSetException


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
8 package javax.print.attribute;
9
10 /**
11  * Thrown to indicate that the requested operation cannot be performed
12  * becasue the set is unmodifiable.
13  *
14  * @author Phil Race
15  * @since 1.4
16  */

17 public class UnmodifiableSetException extends RuntimeException JavaDoc {
18     /**
19      * Constructs an UnsupportedOperationException with no detail message.
20      */

21     public UnmodifiableSetException() {
22     }
23
24     /**
25      * Constructs an UnmodifiableSetException with the specified
26      * detail message.
27      *
28      * @param message the detail message
29      */

30     public UnmodifiableSetException(String JavaDoc message) {
31     super(message);
32     }
33 }
34
Popular Tags