Package java.lang
Class LinkageError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.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 Summary
Constructors Constructor Description LinkageError()Constructs a newLinkageErrorthat includes the current stack trace.LinkageError(String detailMessage)Constructs a newLinkageErrorwith the current stack trace and the specified detail message.LinkageError(String detailMessage, Throwable cause)Constructs a newLinkageErrorwith the given detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LinkageError
public LinkageError()Constructs a newLinkageErrorthat includes the current stack trace. -
LinkageError
Constructs a newLinkageErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this error.
-
LinkageError
Constructs a newLinkageErrorwith the given detail message and cause.- Since:
- 1.7
-