FileDocCategorySizeDatePackage
EmptyStackException.javaAPI DocJ2ME CLDC 1.1617Wed Feb 05 15:56:00 GMT 2003java.util

EmptyStackException.java

/*
 * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * 
 */

package java.util;

/**
 * Thrown by methods in the <code>Stack</code> class to indicate 
 * that the stack is empty. 
 *
 * @author  Jonathan Payne
 * @version 12/17/01 (CLDC 1.1)
 * @see     java.util.Stack
 * @since   JDK1.0, CLDC 1.0
 */
public
class EmptyStackException extends RuntimeException {
    /**
     * Constructs a new <code>EmptyStackException</code> with <tt>null</tt> 
     * as its error message string.
     */
    public EmptyStackException() {
    }
}