Class UserNameTakenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.navjotsrakhra.eventmanager.exception.UserNameTakenException
- All Implemented Interfaces:
Serializable
The UserNameTakenException is an exception class used to indicate that a username is already taken during user registration.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new UserNameTakenException with a default message indicating that the username is already taken. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserNameTakenException
public UserNameTakenException()Constructs a new UserNameTakenException with a default message indicating that the username is already taken.
-