/**
   Exception thrown by Stack methods top and pop when the stack is empty.

   @author      Franck van Breugel
   @version     1.1   May 5, 2000
*/
public class StackEmptyException extends RuntimeException 
{
    /** Constructs a QueueEmptyException without error message. */
    public StackEmptyException() 
    {
        super();
    }

    /** 
	Constructs a QueueEmptyException with the specified error message.

	@param errorMessage Error message.
    */
    public StackEmptyException(String errorMessage) 
    {
        super(errorMessage);
    }
}
