FileDocCategorySizeDatePackage
UnmodifiableClassException.javaAPI DocAndroid 1.5 API1875Wed May 06 22:41:02 BST 2009java.lang.instrument

UnmodifiableClassException

public class UnmodifiableClassException extends Exception
This exception may be thrown from implementations of the method {@link 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.

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public UnmodifiableClassException()
Constructs a new instance of UnmodifiableClassException with no explanatory message.


                   
      
        super();
    
public UnmodifiableClassException(String s)
Constructs a new instance of UnmodifiableClassException with the supplied message, s, for explanation.

param
s a string containing information on why the exception is being created.

        super(s);
    
Methods Summary