lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

LinkageError

public class LinkageError
extends Error

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.LinkageError


Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.

Summary

Public constructors

LinkageError()

Constructs a LinkageError with no detail message.

LinkageError(String s)

Constructs a LinkageError with the specified detail message.

LinkageError(String s, Throwable cause)

Constructs a LinkageError with the specified detail message and cause.

Inherited methods

Public constructors

LinkageError

added in API level 1
public LinkageError ()

Constructs a LinkageError with no detail message.

LinkageError

added in API level 1
public LinkageError (String s)

Constructs a LinkageError with the specified detail message.

Parameters
s String: the detail message.

LinkageError

added in API level 19
public LinkageError (String s, 
                Throwable cause)

Constructs a LinkageError with the specified detail message and cause.

Parameters
s String: the detail message.

cause Throwable: the cause, may be null