java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.lang.RuntimeException | +----java.util.EmptyStackException
public class EmptyStackException
extends RuntimeException
Thrown by methods in the Stack class to indicate that the stack is empty.