package java.util;

/**
 * Thrown by methods in the <code>Stack</code> class to indicate that the stack is empty.
 */
public class EmptyStackException extends RuntimeException {

    /**
     * Constructs a new <code>EmptyStackException</code> with <code>null</code> as its error message string.
     */
    public EmptyStackException() {
        throw new RuntimeException();
    }
}
