Uses of Class
java.lang.ClassFormatError
Packages that use ClassFormatError
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
-
Uses of ClassFormatError in java.lang
Subclasses of ClassFormatError in java.langModifier and TypeClassDescriptionclass
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.Methods in java.lang that throw ClassFormatErrorModifier and TypeMethodDescriptionprotected final Class<?>
ClassLoader.defineClass
(byte[] classRep, int offset, int length) Deprecated.Use defineClass(String, byte[], int, int)protected final Class<?>
ClassLoader.defineClass
(String className, byte[] classRep, int offset, int length) Constructs a new class from an array of bytes containing a class definition in class file format.protected final Class<?>
ClassLoader.defineClass
(String className, byte[] classRep, int offset, int length, ProtectionDomain protectionDomain) Constructs a new class from an array of bytes containing a class definition in class file format and assigns the new class to the specified protection domain.protected final Class<?>
ClassLoader.defineClass
(String name, ByteBuffer buffer, ProtectionDomain domain) Constructs a new class from an array of bytes containing a class definition in class file format and assigns the new class to the specified protection domain. -
Uses of ClassFormatError in java.lang.reflect
Subclasses of ClassFormatError in java.lang.reflectModifier and TypeClassDescriptionclass
Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a class or interface, method or constructor.