12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that the requested operation is not supported.<p>
30 *
31 * This class is a member of the
32 * <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework">
33 * Java Collections Framework</a>.
34 *
35 * @author Josh Bloch
36 * @since 1.2
37 */
38 public class UnsupportedOperationException extends RuntimeException {
39 /**
40 * Constructs an UnsupportedOperationException with no detail message.
41 */
42 public UnsupportedOperationException() {
43 }
44
45 /**
46 * Constructs an UnsupportedOperationException with the specified
47 * detail message.
48 *
49 * @param message the detail message
50 */
51 public UnsupportedOperationException(String message) {
52 super(message);
|
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that the requested operation is not supported.<p>
30 *
31 * This class is a member of the
32 * <a href="{@docRoot}/java.base/java/util/package-summary.html#CollectionsFramework">
33 * Java Collections Framework</a>.
34 *
35 * @author Josh Bloch
36 * @since 1.2
37 */
38 public class UnsupportedOperationException extends RuntimeException {
39 /**
40 * Constructs an UnsupportedOperationException with no detail message.
41 */
42 public UnsupportedOperationException() {
43 }
44
45 /**
46 * Constructs an UnsupportedOperationException with the specified
47 * detail message.
48 *
49 * @param message the detail message
50 */
51 public UnsupportedOperationException(String message) {
52 super(message);
|