thrownewException("EXPIRED: Token "+token.ToString()+" for User with an ID "+userId.ToString()+" has expired.");
}
}
else
{
// INVALID (null EditDate)
thrownewArgumentNullException("INVALID: Value EditDate is NULL for Token "+token.ToString()+" and User with an ID "+userId.ToString()+".");
}
}
else
{
// INVALID (token-user combination not in Database)
thrownewMissingFieldException("INVALID: The Token "+token.ToString()+" and User with an ID "+userId.ToString()+" combination is not valid. No entry inside the Database.");