Class DuplicateEmailException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.glowmart.shop_management.exception.DuplicateEmailException
All Implemented Interfaces:
Serializable

@ResponseStatus(CONFLICT) public class DuplicateEmailException extends RuntimeException
Exception thrown when attempting to register a user with an email that is already in use.
See Also:
  • Constructor Details

    • DuplicateEmailException

      public DuplicateEmailException(String message)
      Constructs a new DuplicateEmailException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the exception