Added in API level 1

ClassFormatError

open class ClassFormatError : LinkageError
GenericSignatureFormatError

Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor.

UnsupportedClassVersionError

Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.

Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.

Summary

Public constructors

Constructs a ClassFormatError with no detail message.

Constructs a ClassFormatError with the specified detail message.

Public constructors

ClassFormatError

Added in API level 1
ClassFormatError()

Constructs a ClassFormatError with no detail message.

ClassFormatError

Added in API level 1
ClassFormatError(s: String!)

Constructs a ClassFormatError with the specified detail message.

Parameters
s String!: the detail message.