Class DuplicateUserAccountException

  • All Implemented Interfaces:
    Serializable

    public class DuplicateUserAccountException
    extends RuntimeException
    Thrown on attempt to create a user with a username which already exists in the database.
    See Also:
    Serialized Form
    • Constructor Detail

      • DuplicateUserAccountException

        public DuplicateUserAccountException​(String account)
      • DuplicateUserAccountException

        public DuplicateUserAccountException​(String account,
                                             String message)
        Constructor
        Parameters:
        account - username
        message - message
    • Method Detail

      • getAccount

        public String getAccount()
        Returns username
        Returns:
        username