1 /*2 * @(#)StackOverflowError.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 when a stack overflow occurs because an application 12 * recurses too deeply. 13 *14 * @author unascribed15 * @version 1.21, 12/19/0316 * @since JDK1.017 */18 public19 class StackOverflowError extends VirtualMachineError {20 /**21 * Constructs a <code>StackOverflowError</code> with no detail message.22 */23 public StackOverflowError() {24 super();25 }26 27 /**28 * Constructs a <code>StackOverflowError</code> with the specified 29 * detail message. 30 *31 * @param s the detail message.32 */33 public StackOverflowError(String s) {34 super(s);35 }36 }37