001    package sale;
002    
003    /**
004     * Exception thrown when some action was cancelled by the user. You can use this exception to mark
005     * cancellation of your own actions.
006     *
007     * @author Steffen Zschaler
008     * @version 2.0 17/08/1999
009     * @since v2.0
010     */
011    public class CancelledException extends Exception {
012    
013        /**
014             * ID for serialization.
015             */
016            private static final long serialVersionUID = -7560440249416543236L;
017    
018            /**
019         * Create a new CancelledException.
020         */
021        public CancelledException() {
022            super();
023        }
024    
025        /**
026         * Create a new CancelledException with a detail message.
027         *
028         * @param sDetail the detail message.
029         */
030        public CancelledException(String sDetail) {
031            super(sDetail);
032        }
033    }