List of usage examples for java.lang ClassFormatError ClassFormatError
public ClassFormatError()
ClassFormatError
with no detail message. From source file:SelfClassLoader.java
protected Class findClass(String name) throws ClassNotFoundException { byte[] bytes = loadClassBytes(name); Class theClass = defineClass(name, bytes, 0, bytes.length); if (theClass == null) throw new ClassFormatError(); return theClass; }