package users;

/**
  * An exception thrown if you try to create a user with a name that is already being
  * used.
  *
  * @see UserManager#createUser
  * @see UserManager#addUser
  *
  * @author Steffen Zschaler
  * @version 2.0 05/05/1999
  * @since v2.0
  */
public class DuplicateUserException extends RuntimeException {

  /**
    * Create a new DuplicateUserException with a detail message.
    */
  public DuplicateUserException (String sDetail) {
    super (sDetail);
  }

  /**
    * Create a new DuplicateUserException.
    */
  public DuplicateUserException() {
    super();
  }
}