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             * ID for serialization.
018             */
019            private static final long serialVersionUID = -3058706627618174916L;
020    
021            /**
022         * Create a new DuplicateUserException with a detail message.
023         */
024        public DuplicateUserException(String sDetail) {
025            super(sDetail);
026        }
027    
028        /**
029         * Create a new DuplicateUserException.
030         */
031        public DuplicateUserException() {
032            super();
033        }
034    }