Class EnrollmentTokenNotPendingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jwcarman.who.core.exception.WhoException
org.jwcarman.who.enrollment.EnrollmentTokenNotPendingException
- All Implemented Interfaces:
Serializable
Thrown when an enrollment token cannot be redeemed because it is not in
PENDING status
(e.g. already redeemed or revoked).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnrollmentTokenNotPendingException(UUID tokenId, EnrollmentTokenStatus status) Creates a new exception for the given token id and status. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EnrollmentTokenNotPendingException
Creates a new exception for the given token id and status.- Parameters:
tokenId- the id of the token that is not pendingstatus- the actual status of the token
-