/* * @(#)ClassFormatError.java 1.20 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.lang; /** * 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. * * @author unascribed * @version 1.20, 12/19/03 * @since JDK1.0 */ public class ClassFormatError extends LinkageError { /** * Constructs a ClassFormatError with no detail message. */ public ClassFormatError() { super(); } /** * Constructs a ClassFormatError with the specified * detail message. * * @param s the detail message. */ public ClassFormatError(String s) { super(s); } }