Class TokenNotFoundException

All Implemented Interfaces:
Serializable

public class TokenNotFoundException extends NotFoundException
An exception to be thrown when a token is not found.
Author:
Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • TokenNotFoundException

      public TokenNotFoundException(String token)
      This method constructs a new with the specified token value.
      Parameters:
      token - The token value, given as a String
    • TokenNotFoundException

      public TokenNotFoundException(Long tokenId)
      This method constructs a new TokenNotFoundException with the specified user id.
      Parameters:
      tokenId - The id of the token that was not found, given as a Long object.