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 * Create a new VetoException.
015 */
016 public VetoException() {
017 super();
018 }
019
020 /**
021 * Create a new VetoException with a detail message.
022 *
023 * @param sDetail the detail message.
024 */
025 public VetoException(String sDetail) {
026 super(sDetail);
027 }
028 }