Class AlreadyRegisteredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exception.AlreadyRegisteredException
- All Implemented Interfaces:
Serializable
Custom checked exception thrown when an attempt is made to register a user
whose user ID already exists within the system.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAlreadyRegisteredExceptionwith a default detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyRegisteredException
public AlreadyRegisteredException()Constructs a newAlreadyRegisteredExceptionwith a default detail message. The default message is "This user ID is already registered.".
-