Class DuplicatedUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.lastbox.lastshield.basicauth.exception.DuplicatedUserException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicatedUserException
public DuplicatedUserException()Constructor for DuplicatedUserException. The constructor uses a default message indicating that the username already exists.
-