java.lang.LinkageError
This class is the superclass of all classes which represent errors that occur
when loading and linking class files.
Known Direct Subclasses
ClassCircularityError |
This error is thrown when the VM notices that an attempt is made to load a
class which would directly or indirectly inherit from one of its subclasses. |
ClassFormatError |
This error is thrown by the class loader when it discovers that a class that
it is loading does not have the correct shape. |
ExceptionInInitializerError |
This error is thrown when an exception occurs during class initialization. |
IncompatibleClassChangeError |
This class is the superclass of all classes which represent errors which
occur when inconsistant class files are loaded into the same running image. |
NoClassDefFoundError |
This error is thrown when the VM is unable to locate a class which it has
been asked to load. |
UnsatisfiedLinkError |
This error is thrown when an attempt is made to invoke a native for which an
implementation could not be found. |
VerifyError |
This error is thrown when the VM notices that an attempt is made to load a
class which does not pass the class verification phase. |
Known Indirect Subclasses
AbstractMethodError |
This error is thrown when the VM notices that a an attempt is being made to
invoke an abstract method. |
GenericSignatureFormatError |
Indicates that a malformed signature has been encountered via a reflective
method. |
IllegalAccessError |
This error is thrown when the VM notices that a an attempt is being made to
access a field which is not accessable from where it is referenced. |
InstantiationError |
This error is thrown when the VM notices that a an attempt is being made to
create a new instance of a class which has no visible constructors from the
location where new is invoked. |
NoSuchFieldError |
This error is thrown when the VM notices that a an attempt is being made to
reference a field of a class which does not exist in that class. |
NoSuchMethodError |
This error is thrown when the VM notices that a an attempt is being made to
reference a method of a class which does not exist in that class. |
UnsupportedClassVersionError |
This error is thrown when an attempt is made to load a class with a format
version that is not supported by the VM. |
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
LinkageError()
Constructs a new instance of this class with its walkback filled in.
public
LinkageError(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
detailMessage
| String The detail message for the exception.
|