Package java.lang

Class LinkageError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassCircularityError, ClassFormatError, ExceptionInInitializerError, IncompatibleClassChangeError, NoClassDefFoundError, UnsatisfiedLinkError, VerifyError

public class LinkageError
extends Error
LinkageError is the superclass of all error classes that occur when loading and linking class files.
See Also:
Error, Serialized Form
  • Constructor Details

    • LinkageError

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

      public LinkageError​(String detailMessage)
      Constructs a new LinkageError with the current stack trace and the specified detail message.
      Parameters:
      detailMessage - the detail message for this error.
    • LinkageError

      public LinkageError​(String detailMessage, Throwable cause)
      Constructs a new LinkageError with the given detail message and cause.
      Since:
      1.7