package java.lang;

/**
 * Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
 */
public class InternalError extends VirtualMachineError {

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

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