Class InvalidEmailAddressConfirmationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jwcarman.who.emaillink.InvalidEmailAddressConfirmationException
All Implemented Interfaces:
Serializable, WhoErrorCode

@ResponseStatus(BAD_REQUEST) public class InvalidEmailAddressConfirmationException extends RuntimeException implements WhoErrorCode
A confirmation at POST /who/me/email-addresses/confirmations matched nothing: no request by this identity, an expired or used one, a wrong code, or a code with no attempts left. The message never says which.
See Also:
  • Constructor Details

    • InvalidEmailAddressConfirmationException

      public InvalidEmailAddressConfirmationException()
      Creates the exception.
  • Method Details

    • errorCode

      public String errorCode()
      Returns invalid-confirmation.
      Specified by:
      errorCode in interface WhoErrorCode
      Returns:
      invalid-confirmation