java.lang.LinkageError
java.lang.Error
java.lang.ClassCircularityError,
java.lang.ClassFormatError,
java.lang.ExceptionInInitializerError,
java.lang.IncompatibleClassChangeError,
java.lang.NoClassDefFoundError,
java.lang.UnsatisfiedLinkError,
java.lang.VerifyError
None
JDK 1.0 or later
The appropriate subclass of LinkageError is thrown when there is a problem resolving a reference to a class. Reasons for this may include a difficulty in finding the definition of the class or an incompatibility between the current definition and the expected definition of the class.
public class java.lang.LinkageError extends java.lang.Error {
  // Constructors
  public LinkageError();
  public LinkageError(String s);
}
This constructor creates a LinkageError with no associated detail message.
The detail message.
This constructor create a LinkageError 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  | 
ClassCircularityError, ClassFormatError, Error, ExceptionInInitializerError, IncompatibleClassChangeError, NoClassDefFoundError, Throwable, UnsatisfiedLinkError, VerifyError