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.
 */
public class UnsupportedClassVersionError extends ClassFormatError {

    /**
     * Constructs a <code>UnsupportedClassVersionError</code> with no detail message.
     */
    public UnsupportedClassVersionError() {
        throw new RuntimeException();
    }

    /**
     * Constructs a <code>UnsupportedClassVersionError</code> with the specified detail message.
     *
     * @param s
     *        the detail message.
     */
    public UnsupportedClassVersionError(String s) {
        throw new RuntimeException();
    }
}
