Class DuplicatedUserException

java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.lastbox.lastshield.basicauth.exception.DuplicatedUserException
All Implemented Interfaces:
Serializable

public class DuplicatedUserException extends Exception
Exception thrown when attempting to create a user with a username that already exists. This exception is used to indicate that the username is not unique and cannot be used for new user registration.

This exception extends Exception and provides a default message indicating that the username already exists in the system.

See Also:
  • Constructor Details

    • DuplicatedUserException

      public DuplicatedUserException()
      Constructor for DuplicatedUserException. The constructor uses a default message indicating that the username already exists.