001    package data;
002    
003    /**
004             * Exception thrown by {@link Stock} if you attempt to remove more elements than there are actually available.
005     *
006     * @author Steffen Zschaler
007     * @version 2.0 18/08/1999
008     * @since v2.0
009     */
010    public class NotEnoughElementsException extends RuntimeException {
011    
012        /**
013         * Create a new NotEnoughElementsException.
014         */
015        public NotEnoughElementsException() {
016            super();
017        }
018    
019        /**
020         * Create a new NotEnoughElementsException with a detail message.
021         *
022         * @param sDetail the detail message.
023         */
024        public NotEnoughElementsException(String sDetail) {
025            super(sDetail);
026        }
027    }