java.lang.IncompatibleClassChangeError
java.lang.LinkageError
java.lang.AbstractMethodError,
java.lang.IllegalAccessError,
java.lang.InstantiationError,
java.lang.NoSuchFieldError,
java.lang.NoSuchMethodError
None
JDK 1.0 or later
An 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.
public class java.lang.IncompatibleClassChangeError extends java.lang.LinkageError { // Constructors public IncompatibleClassChangeError(); public IncompatibleClassChangeError(String s); }
This constructor creates an IncompatibleClassChangeError with no associated detail message.
The detail message.
This constructor creates an IncompatibleClassChangeError with the specified detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
AbstractMethodError, Error, IllegalAccessError, InstantiationError, LinkageError, NoSuchFieldError, NoSuchMethodError, Throwable
This HTML Help has been published using the chm2web software. |