IncompatibleClassChangeErrorNameIncompatibleClassChangeErrorSynopsis
DescriptionAn IncompatibleClassChangeError or one of its subclasses is thrown when a class refers to another class in an incompatible way. This situation occurs when the current definition of the referenced class is incompatible with the definition of the class that was found when the referring class was compiled. For example, say class A refers to a method in class B. Then, after class A is compiled, the method is removed from class B. When class A is loaded, the run-time system discovers that the method in class B no longer exists and throws an error. Class Summary
public class java.lang.IncompatibleClassChangeError
extends java.lang.LinkageError {
// Constructors
public IncompatibleClassChangeError();
public IncompatibleClassChangeError(String s);
}
ConstructorsIncompatibleClassChangeErrorpublic IncompatibleClassChangeError()
public IncompatibleClassChangeError(String s)
Inherited Methods
See AlsoAbstractMethodError, Error, IllegalAccessError, InstantiationError, LinkageError, NoSuchFieldError, NoSuchMethodError, Throwable |
|