package data;

/**
  * Exception thrown by {@link Stock} if you attempt to remove more elements than there are actually available.
  *
  * @author Steffen Zschaler
  * @version 2.0 18/08/1999
  * @since v2.0
  */
public class NotEnoughElementsException extends RuntimeException {

  /**
    * Create a new NotEnoughElementsException.
    */
  public NotEnoughElementsException() {
    super();
  }

  /**
    * Create a new NotEnoughElementsException with a detail message.
    *
    * @param sDetail the detail message.
    */
  public NotEnoughElementsException(String sDetail) {
    super (sDetail);
  }
}