Class EnrollmentTokenNotPendingException

All Implemented Interfaces:
Serializable

public class EnrollmentTokenNotPendingException extends WhoException
Thrown when an enrollment token cannot be redeemed because it is not in PENDING status (e.g. already redeemed or revoked).
See Also:
  • Constructor Details

    • EnrollmentTokenNotPendingException

      public EnrollmentTokenNotPendingException(UUID tokenId, EnrollmentTokenStatus status)
      Creates a new exception for the given token id and status.
      Parameters:
      tokenId - the id of the token that is not pending
      status - the actual status of the token