# Class LinkageError

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

All Implemented Interfaces:
  `Serializable`

public class LinkageError extends java.lang.Error

`LinkageError` is the superclass of all error classes that occur when loading and linking class files.

##### See also

- Error

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LinkageError()`
  Constructs a new `LinkageError` that includes the current stack trace.
  `LinkageError(java.lang.String detailMessage)`
  Constructs a new `LinkageError` with the current stack trace and the specified detail message.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### LinkageError

    public LinkageError()
    Constructs a new `LinkageError` that includes the current stack trace.

  - ### LinkageError

    public LinkageError(java.lang.String detailMessage)

    Constructs a new `LinkageError` with the current stack trace and the specified detail message.

    ###### Parameters

    - `detailMessage`: the detail message for this error.