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 Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEmailAddressConfirmationException
public InvalidEmailAddressConfirmationException()Creates the exception.
-
-
Method Details
-
errorCode
Returnsinvalid-confirmation.- Specified by:
errorCodein interfaceWhoErrorCode- Returns:
invalid-confirmation
-