java.lang
Class ClassFormatError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjava.lang.LinkageError
              extended byjava.lang.ClassFormatError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GenericSignatureFormatError, UnsupportedClassVersionError

public class ClassFormatError
extends LinkageError

This error is thrown by the class loader when it discovers that a class that it is loading does not have the correct shape.

See Also:
Serialized Form

Constructor Summary
ClassFormatError()
          Constructs a new instance of this class with its walkback filled in.
ClassFormatError(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassFormatError

public ClassFormatError()
Constructs a new instance of this class with its walkback filled in.


ClassFormatError

public ClassFormatError(java.lang.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.