java.lang
Class ClassFormatError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.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(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 |
ClassFormatError
public ClassFormatError()
- Constructs a new instance of this class with its walkback filled in.
ClassFormatError
public ClassFormatError(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.
Please submit a feedback, bug or feature