English | Site Directory

Android - An Open Handset Alliance Project

java.lang.instrument
public class

java.lang.instrument.UnmodifiableClassException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.instrument.UnmodifiableClassException

This exception may be thrown from implementations of the method redefineClasses(ClassDefinition[]) 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.

Summary

Public Constructors

          UnmodifiableClassException()
Constructs a new instance of UnmodifiableClassException with no explanatory message.
          UnmodifiableClassException(String s)
Constructs a new instance of UnmodifiableClassException with the supplied message, s, for explanation.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

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.

Parameters

s a string containing information on why the exception is being created.
Build m5-rc15g - 14 May 2008 12:50