001    package data.events;
002    
003    /**
004     * Exception thrown by {@link CatalogChangeListener}s and {@link StockChangeListener}s to indicate a veto
005     * against some operation.
006     *
007     * @author Steffen Zschaler
008     * @version 2.0 19/08/1999
009     * @since v2.0
010     */
011    public class VetoException extends Exception {
012    
013        /**
014             * ID for serialization.
015             */
016            private static final long serialVersionUID = 5640124225061528828L;
017    
018            /**
019         * Create a new VetoException.
020         */
021        public VetoException() {
022            super();
023        }
024    
025        /**
026         * Create a new VetoException with a detail message.
027         *
028         * @param sDetail the detail message.
029         */
030        public VetoException(String sDetail) {
031            super(sDetail);
032        }
033    }