KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > util > EmptyStackException


1 /*
2  * @(#)EmptyStackException.java 1.20 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.util;
9
10 /**
11  * Thrown by methods in the <code>Stack</code> class to indicate
12  * that the stack is empty.
13  *
14  * @author Jonathan Payne
15  * @version 1.20, 12/19/03
16  * @see java.util.Stack
17  * @since JDK1.0
18  */

19 public
20 class EmptyStackException extends RuntimeException JavaDoc {
21     /**
22      * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
23      * as its error message string.
24      */

25     public EmptyStackException() {
26     }
27 }
28
Popular Tags