001 package users;
002
003 /**
004 * An exception thrown if you try to create a user with a name that is already being
005 * used.
006 *
007 * @see UserManager#createUser
008 * @see UserManager#addUser
009 *
010 * @author Steffen Zschaler
011 * @version 2.0 05/05/1999
012 * @since v2.0
013 */
014 public class DuplicateUserException extends RuntimeException {
015
016 /**
017 * Create a new DuplicateUserException with a detail message.
018 */
019 public DuplicateUserException(String sDetail) {
020 super(sDetail);
021 }
022
023 /**
024 * Create a new DuplicateUserException.
025 */
026 public DuplicateUserException() {
027 super();
028 }
029 }