Class EmailAlreadyExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.fiap.tech_challenge.parte1.ms_users.exceptions.EmailAlreadyExistsException
All Implemented Interfaces:
Serializable

public class EmailAlreadyExistsException extends RuntimeException
Exception thrown when an attempt is made to register or update a user with an email that is already in use by another user.
See Also:
  • Constructor Details

    • EmailAlreadyExistsException

      public EmailAlreadyExistsException(String message)
      Constructs a new EmailAlreadyExistsException with the specified detail message.
      Parameters:
      message - the detail message explaining the cause of the exception