001 package data;
002
003 /**
004 * Exception thrown by {@link Nameable#setName} if a new name does not comply with NameContext rules.
005 *
006 * @author Steffen Zschaler
007 * @version 2.0 25/05/1999
008 * @since v2.0
009 */
010 public class NameContextException extends Exception {
011
012 /**
013 * ID for serialization.
014 */
015 private static final long serialVersionUID = -3444710662451287641L;
016
017 /**
018 * Create a new NameContextException.
019 */
020 public NameContextException() {
021 super();
022 }
023
024 /**
025 * Create a new NameContextException with a detail message.
026 *
027 * @param sMsg the detail message.
028 */
029 public NameContextException(String sMsg) {
030 super(sMsg);
031 }
032 }