1 /*2 * @(#)InternalError.java 1.21 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.lang;9 10 /**11 * Thrown to indicate some unexpected internal error has occurred in 12 * the Java Virtual Machine. 13 *14 * @author unascribed15 * @version 1.21, 12/19/0316 * @since JDK1.017 */18 public19 class InternalError extends VirtualMachineError {20 /**21 * Constructs an <code>InternalError</code> with no detail message. 22 */23 public InternalError() {24 super();25 }26 27 /**28 * Constructs an <code>InternalError</code> with the specified 29 * detail message. 30 *31 * @param s the detail message.32 */33 public InternalError(String s) {34 super(s);35 }36 }37