001 package data;
002
003 /**
004 * An exception thrown when a catalog conflict was detected. A catalog conflict occurs when operations that
005 * work on two {@link Stock Stocks} are to work on two Stocks that have different {@link Catalog Catalogs}.
006 *
007 * @author Steffen Zschaler
008 * @version 2.0 18/08/1999
009 * @since v2.0
010 */
011 public class CatalogConflictException extends RuntimeException {
012
013 /**
014 * ID for serialization.
015 */
016 private static final long serialVersionUID = -3977555784210161070L;
017
018 /**
019 * Create a new CatalogConflictException.
020 */
021 public CatalogConflictException() {
022 super();
023 }
024
025 /**
026 * Create a new CatalogConflictException with a detail message.
027 *
028 * @param sDetail the detail message.
029 */
030 public CatalogConflictException(String sDetail) {
031 super(sDetail);
032 }
033 }