KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > StackOverflowError


1 /*
2  * @(#)StackOverflowError.java 1.21 03/12/19
3  *
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 unascribed
15  * @version 1.21, 12/19/03
16  * @since JDK1.0
17  */

18 public
19 class StackOverflowError extends VirtualMachineError JavaDoc {
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 JavaDoc s) {
34     super(s);
35     }
36 }
37
Popular Tags