/**
 * Exception thrown by Stack methods pop and top when the stack is empty.
 * 
 * @version     1.1   May 4, 2000
 * @author      Franck van Breugel
 */
public class StackEmptyException extends RuntimeException 
{
    /** 
     * Constructs a StackEmptyException without error message.
     */
    public StackEmptyException() 
    {
        super();
    }

    /** 
     * Constructs a StackEmptyException with the specified error message.
     * @param errorMessage Error message.
     */
    public StackEmptyException(String errorMessage) 
    {
        super(errorMessage);
    }
}
