KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > instrument > UnmodifiableClassException


1 /*
2  * @(#)UnmodifiableClassException.java 1.2 04/03/01
3  *
4  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
5  */

6
7 package java.lang.instrument;
8
9 /**
10  * Thrown by an implementation of
11  * {@link java.lang.instrument.Instrumentation#redefineClasses Instrumentation.redefineClasses}
12  * when one of the specified classes cannot be modified.
13  *
14  * @see java.lang.instrument.Instrumentation#redefineClasses
15  * @since JDK1.5
16  */

17 public class UnmodifiableClassException extends Exception JavaDoc {
18     /**
19      * Constructs an <code>UnmodifiableClassException</code> with no
20      * detail message.
21      */

22     public
23     UnmodifiableClassException() {
24         super();
25     }
26
27     /**
28      * Constructs an <code>UnmodifiableClassException</code> with the
29      * specified detail message.
30      *
31      * @param s the detail message.
32      */

33     public
34     UnmodifiableClassException(String JavaDoc s) {
35         super(s);
36     }
37 }
38
Popular Tags