Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.ClassFormatError

Packages that use ClassFormatError
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
 

Uses of ClassFormatError in java.lang
 

Subclasses of ClassFormatError in java.lang
 class 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.
 

Methods in java.lang that throw ClassFormatError
protected  Class<?> ClassLoader.defineClass(byte[] b, int off, int len)
          Deprecated. Replaced by defineClass(String, byte[], int, int)
protected  Class<?> ClassLoader.defineClass(String name, byte[] b, int off, int len)
          Converts an array of bytes into an instance of class Class.
protected  Class<?> ClassLoader.defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
          Converts an array of bytes into an instance of class Class, with an optional ProtectionDomain.
protected  Class<?> ClassLoader.defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)
          Converts a ByteBuffer into an instance of class Class, with an optional ProtectionDomain.
 

Uses of ClassFormatError in java.lang.reflect
 

Subclasses of ClassFormatError in java.lang.reflect
 class 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.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.