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