package java.lang;

/**
 * Thrown when an incompatible class change has occurred to some class definition. The definition of
 * some class, on which the currently executing method depends, has since changed.
 */
public class IncompatibleClassChangeError extends LinkageError {

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

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