java.lang.Object | +--java.lang.Throwable | +--java.lang.Error | +--java.lang.LinkageError | +--java.lang.ClassFormatError
ClassFormatError() Create an error without a message. |
ClassFormatError(java.lang.String s) Create an error with a message. |
public ClassFormatError()
public ClassFormatError(java.lang.String s)
s
- the message
ClassFormatError
is thrown when a Java Virtual Machine unable to read a class file because the file is corrupted or cannot be interpreted as a class file.