public class UnmodifiableClassException extends Exception(Code)
This exception may be thrown from implementations of the method
java.lang.instrument.Instrumentation.redefineClasses when one of the
desired class redefinition operations cannot be carried out. Such a situation
may arise if a redefinition attempts to alter the members of a class or its
inheritance hierarchy.
Constructor Summary
public
UnmodifiableClassException() Constructs a new instance of UnmodifiableClassException
with no explanatory message.
public
UnmodifiableClassException(String s) Constructs a new instance of UnmodifiableClassException
with the supplied message, s, for explanation.
Constructs a new instance of UnmodifiableClassException
with the supplied message, s, for explanation.
Parameters: s - a string containing information on why the exception is beingcreated.