Package java.lang
Class LinkageError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.LinkageError
-
- All Implemented Interfaces:
Serializable
,Modified
- Direct Known Subclasses:
IncompatibleClassChangeError
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 newLinkageError
that includes the current stack trace.LinkageError(String detailMessage)
Constructs a newLinkageError
with the current stack trace and the specified detail message.LinkageError(String detailMessage, Throwable cause)
Constructs a newLinkageError
with the given detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
LinkageError
public LinkageError()
Constructs a newLinkageError
that includes the current stack trace.
-
LinkageError
public LinkageError(String detailMessage)
Constructs a newLinkageError
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this error.
-
-