/* * @(#)UnsupportedClassVersionError.java 1.10 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 major and minor version numbers * in the file are not supported. * * @since 1.2 */ public class UnsupportedClassVersionError extends ClassFormatError { /** * Constructs a UnsupportedClassVersionError * with no detail message. */ public UnsupportedClassVersionError() { super(); } /** * Constructs a UnsupportedClassVersionError with * the specified detail message. * * @param s the detail message. */ public UnsupportedClassVersionError(String s) { super(s); } }