Class DuplicateEmailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.glowmart.shop_management.exception.DuplicateEmailException
- All Implemented Interfaces:
Serializable
Exception thrown when attempting to register a user with an email
that is already in use.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateEmailException(String message) Constructs a new DuplicateEmailException with the specified 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
-
DuplicateEmailException
Constructs a new DuplicateEmailException with the specified detail message.- Parameters:
message- the detail message explaining the reason for the exception
-