UnmodifiableClassException | java.lang.instrument |
Java 5.0 | serializable checked |
An exception of this type is thrown from Instrumentation.redefineClasses( ) if a requested redefinition cannot be performed. This might occur, for example, if the redefinition attempts to add or remove members from the class.
Figure 10-84. java.lang.instrument.UnmodifiableClassException
public class UnmodifiableClassException extends Exception { // Public Constructors public UnmodifiableClassException ( ); public UnmodifiableClassException (String s ); }
Thrown By Instrumentation.redefineClasses( ) |